]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add prototype for exit
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 2 Jul 2015 05:03:34 +0000 (05:03 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 2 Jul 2015 05:03:34 +0000 (22:03 -0700)
* gcc.target/i386/mpx/pr66568.c (exit): New prototype.

From-SVN: r225296

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/mpx/pr66568.c

index 940f367567eaa1bf18d10dec1494f85f8c0a3c68..f6903b0f741671c3661307251b959e63f01a6ec7 100644 (file)
@@ -1,3 +1,7 @@
+2015-07-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gcc.target/i386/mpx/pr66568.c (exit): New prototype.
+
 2015-07-01  Jason Merrill  <jason@redhat.com>
 
        * lib/target-supports.exp (cxx_default): Set to C++14.
index d7bb9f6e31d9fed86fa2f7c773e2249d9b16879a..2653ebc0fa02ea7b341a004e383782d465a6e2fd 100644 (file)
@@ -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)