aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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 6265a73..71f416e 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 0de02cc..84ba5ee 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);