hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 169376c182c9ca786ce659b3e519f4017030c956 Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Fri, 10 Dec 2021 10:24:29 +0800
Subject: [PATCH] aarch64: arm_acle.h: Fix compile error
 
There's a lonely induce in upstream GCC-9(since 9.4.0), which would cause
compile error:
error: template with C linkage
 
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
 gcc/config/aarch64/arm_acle.h | 4 ----
 1 file changed, 4 deletions(-)
 
diff --git a/gcc/config/aarch64/arm_acle.h b/gcc/config/aarch64/arm_acle.h
index 5614735..8c622a3 100644
--- a/gcc/config/aarch64/arm_acle.h
+++ b/gcc/config/aarch64/arm_acle.h
@@ -98,10 +98,6 @@ __rint64x (double __a)
 
 #pragma GCC target ("+nothing+crc")
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 __extension__ static __inline uint32_t __attribute__ ((__always_inline__))
 __crc32b (uint32_t __a, uint8_t __b)
 {
-- 
2.20.1