Add abort prototype to readeflags-1.c/writeeflags-1.c
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 8 Jul 2015 17:08:48 +0000 (17:08 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 8 Jul 2015 17:08:48 +0000 (10:08 -0700)
* gcc.target/i386/readeflags-1.c (abort): New prototype.
* gcc.target/i386/writeeflags-1.c (abort): Likewise.

From-SVN: r225566

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/readeflags-1.c
gcc/testsuite/gcc.target/i386/writeeflags-1.c

index bff49446c761a3f54387820ab59f96dd14255bfb..9a3a93e29b81ef6a604a6e20e8b4c8c4deb41756 100644 (file)
@@ -1,3 +1,8 @@
+2015-07-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.target/i386/readeflags-1.c (abort): New prototype.
+       * gcc.target/i386/writeeflags-1.c (abort): Likewise.
+
 2015-07-08  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/66421
index 6b2fa7e8d146a296aac989810b0e0f932de93684..363a895e70409ac2564cf88f59cf54e6f3545eb5 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <x86intrin.h>
 
+extern void abort (void);
+
 #ifdef __x86_64__
 #define EFLAGS_TYPE unsigned long long int
 #else
index 446840cb33c4ba2f7f9f0bf7585296e50610ef02..ceaab1ae89373537bfbbc5832ee0c7a6ac6f7d6b 100644 (file)
@@ -3,6 +3,8 @@
 
 #include <x86intrin.h>
 
+extern void abort (void);
+
 #ifdef __x86_64__
 #define EFLAGS_TYPE unsigned long long int
 #else