Add prototype for exit

* gcc.target/i386/mpx/pr66568.c (exit): New prototype.

From-SVN: r225296
This commit is contained in:
H.J. Lu 2015-07-02 05:03:34 +00:00 committed by H.J. Lu
parent 6f92998579
commit 8725e9c4ab
2 changed files with 5 additions and 0 deletions

View 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.

View 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)