]> gcc.gnu.org Git - gcc.git/commitdiff
Fix libgomp.oacc-c-c++-common/pr84217.c for C++
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 7 Feb 2018 19:32:21 +0000 (19:32 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 7 Feb 2018 19:32:21 +0000 (19:32 +0000)
* testsuite/libgomp.oacc-c-c++-common/pr84217.c (abort)
[__cplusplus]: Declare extern "C".

From-SVN: r257457

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/pr84217.c

index 91b47ce713731e413c60b2aef4f6e9fb2321912d..df8a57d6ab15b22f254ed0f4661598f64c197f66 100644 (file)
@@ -1,3 +1,8 @@
+2018-02-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/libgomp.oacc-c-c++-common/pr84217.c (abort)
+       [__cplusplus]: Declare extern "C".
+
 2018-02-07  Tom de Vries  <tom@codesourcery.com>
 
        PR libgomp/84217
index 18ff66a560b0faa9e921cbbb71432320a1f23ec3..68768389008c712f594e424a66ac420d429d5d62 100644 (file)
@@ -1,4 +1,8 @@
-extern void abort (void);
+extern
+#ifdef __cplusplus
+"C"
+#endif
+void abort (void);
 
 #define N 10
 
This page took 0.073849 seconds and 5 git commands to generate.