diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 70f7b6f238b..0d7aa425772 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-23 Ulrich Weigand + + * gcc.dg/20030123-1.c: Add prototypes for builtin functions. + * gcc.dg/20040305-1.c: Likewise. + 2004-09-22 Joseph S. Myers PR c/16566 diff --git a/gcc/testsuite/gcc.dg/20030123-1.c b/gcc/testsuite/gcc.dg/20030123-1.c index e4e49ab0916..319e4526a4a 100644 --- a/gcc/testsuite/gcc.dg/20030123-1.c +++ b/gcc/testsuite/gcc.dg/20030123-1.c @@ -3,6 +3,8 @@ /* { dg-do compile { target s390*-*-* } } */ /* { dg-options "-O2 -fno-omit-frame-pointer" } */ +extern void *alloca (__SIZE_TYPE__); + void func (char *p); void test (void) diff --git a/gcc/testsuite/gcc.dg/20040305-1.c b/gcc/testsuite/gcc.dg/20040305-1.c index 62b920c5e1b..d2c4da4296f 100644 --- a/gcc/testsuite/gcc.dg/20040305-1.c +++ b/gcc/testsuite/gcc.dg/20040305-1.c @@ -8,6 +8,9 @@ /* { dg-do run { target s390-*-* } } */ /* { dg-options "-O3 -mtune=z990 -fno-inline" } */ +extern void exit (int); +extern void abort (void); + int f; int g; int h;