diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2015-07-02 05:03:34 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2015-07-01 22:03:34 -0700 |
commit | 8725e9c4ab24787aa43f79a9ea8380bd829de2c7 (patch) | |
tree | 5566cb00458db91af7064ac86aaf5ad29759cefa /gcc | |
parent | 6f929985791a50401c5e53b90d6fffc54caab43a (diff) | |
download | gcc-8725e9c4ab24787aa43f79a9ea8380bd829de2c7.zip gcc-8725e9c4ab24787aa43f79a9ea8380bd829de2c7.tar.gz gcc-8725e9c4ab24787aa43f79a9ea8380bd829de2c7.tar.bz2 |
Add prototype for exit
* gcc.target/i386/mpx/pr66568.c (exit): New prototype.
From-SVN: r225296
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/mpx/pr66568.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 940f367..f6903b0 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.target/i386/mpx/pr66568.c b/gcc/testsuite/gcc.target/i386/mpx/pr66568.c index d7bb9f6..2653ebc 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) |