20030123-1.c: Add prototypes for builtin functions.

* gcc.dg/20030123-1.c: Add prototypes for builtin functions.
	* gcc.dg/20040305-1.c: Likewise.

From-SVN: r87893
This commit is contained in:
Ulrich Weigand 2004-09-22 23:16:36 +00:00 committed by Ulrich Weigand
parent 588d195294
commit b1247df745
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-09-23 Ulrich Weigand <uweigand@de.ibm.com>
* gcc.dg/20030123-1.c: Add prototypes for builtin functions.
* gcc.dg/20040305-1.c: Likewise.
2004-09-22 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/16566

View File

@ -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)

View File

@ -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;