summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorsirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-26 23:11:54 +0000
committersirl <sirl@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-26 23:11:54 +0000
commite4043909700cbd309e7b74ba0d91586ec35a98bf (patch)
treed7b7237772050d5316da5c34fa918e410cb18fad /gcc
parentf01b0085259ca60e6e2fd5261001cc195c37115f (diff)
downloadppe42-gcc-e4043909700cbd309e7b74ba0d91586ec35a98bf.tar.gz
ppe42-gcc-e4043909700cbd309e7b74ba0d91586ec35a98bf.zip
2000-06-26 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.dg/980523-1.c: Add prototype for exit(). * gcc.dg/980827-1.c: Add prototype for exit() and abort(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34722 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/980523-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/980827-1.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/980523-1.c b/gcc/testsuite/gcc.dg/980523-1.c
index 6265a733780..71f416e5d78 100644
--- a/gcc/testsuite/gcc.dg/980523-1.c
+++ b/gcc/testsuite/gcc.dg/980523-1.c
@@ -1,6 +1,8 @@
/* { dg-do run { target rs6000-*-linux* powerpc-*-linux*} } */
/* { dg-options "-O2 -fpic" } */
+extern void exit (int);
+
void foo1(int a, char *b, int c)
{
c =a+c+234;
diff --git a/gcc/testsuite/gcc.dg/980827-1.c b/gcc/testsuite/gcc.dg/980827-1.c
index 0de02ccc58f..84ba5ee4d5f 100644
--- a/gcc/testsuite/gcc.dg/980827-1.c
+++ b/gcc/testsuite/gcc.dg/980827-1.c
@@ -1,6 +1,9 @@
/* { dg-do run { target rs6000-*-linux* powerpc-*-linux*} } */
/* { dg-options -O2 } */
+extern void exit (int);
+extern void abort (void);
+
double dval = 0;
void splat (double d);
OpenPOWER on IntegriCloud