From: H.J. Lu Date: Wed, 8 Jul 2015 17:08:48 +0000 (+0000) Subject: Add abort prototype to readeflags-1.c/writeeflags-1.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=422a17ceb5b97ac9a45e3461f8bb5c006a310a07;p=gcc.git Add abort prototype to readeflags-1.c/writeeflags-1.c * gcc.target/i386/readeflags-1.c (abort): New prototype. * gcc.target/i386/writeeflags-1.c (abort): Likewise. From-SVN: r225566 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bff49446c76..9a3a93e29b8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-07-08 H.J. Lu + + * gcc.target/i386/readeflags-1.c (abort): New prototype. + * gcc.target/i386/writeeflags-1.c (abort): Likewise. + 2015-07-08 Paolo Carlini PR c++/66421 diff --git a/gcc/testsuite/gcc.target/i386/readeflags-1.c b/gcc/testsuite/gcc.target/i386/readeflags-1.c index 6b2fa7e8d14..363a895e704 100644 --- a/gcc/testsuite/gcc.target/i386/readeflags-1.c +++ b/gcc/testsuite/gcc.target/i386/readeflags-1.c @@ -3,6 +3,8 @@ #include +extern void abort (void); + #ifdef __x86_64__ #define EFLAGS_TYPE unsigned long long int #else diff --git a/gcc/testsuite/gcc.target/i386/writeeflags-1.c b/gcc/testsuite/gcc.target/i386/writeeflags-1.c index 446840cb33c..ceaab1ae893 100644 --- a/gcc/testsuite/gcc.target/i386/writeeflags-1.c +++ b/gcc/testsuite/gcc.target/i386/writeeflags-1.c @@ -3,6 +3,8 @@ #include +extern void abort (void); + #ifdef __x86_64__ #define EFLAGS_TYPE unsigned long long int #else