From: H.J. Lu Date: Thu, 2 Jul 2015 05:03:34 +0000 (+0000) Subject: Add prototype for exit X-Git-Tag: basepoints/gcc-7~5931 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8725e9c4ab24787aa43f79a9ea8380bd829de2c7;p=thirdparty%2Fgcc.git Add prototype for exit * gcc.target/i386/mpx/pr66568.c (exit): New prototype. From-SVN: r225296 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 940f367567ea..f6903b0f7416 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-07-01 H.J. Lu + + * gcc.target/i386/mpx/pr66568.c (exit): New prototype. + 2015-07-01 Jason Merrill * lib/target-supports.exp (cxx_default): Set to C++14. diff --git a/gcc/testsuite/gcc.target/i386/mpx/pr66568.c b/gcc/testsuite/gcc.target/i386/mpx/pr66568.c index d7bb9f6e31d9..2653ebc0fa02 100644 --- a/gcc/testsuite/gcc.target/i386/mpx/pr66568.c +++ b/gcc/testsuite/gcc.target/i386/mpx/pr66568.c @@ -2,6 +2,7 @@ /* { dg-require-effective-target fpic } */ /* { dg-options "-O2 -fcheck-pointer-bounds -mmpx -O2 -fPIC" } */ +extern void exit (int); int a, b, c; void *set_test () { if (b)