From 8725e9c4ab24787aa43f79a9ea8380bd829de2c7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 2 Jul 2015 05:03:34 +0000 Subject: [PATCH] Add prototype for exit * gcc.target/i386/mpx/pr66568.c (exit): New prototype. From-SVN: r225296 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/i386/mpx/pr66568.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 940f367567e..f6903b0f741 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 d7bb9f6e31d..2653ebc0fa0 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) -- 2.30.2