summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-22 23:16:36 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-22 23:16:36 +0000
commit6b1e49c4431000233a54179dbb19030d0fb5348e (patch)
tree74287584f921ef9c99ccb75d7706947cd6134fc7
parentba865e3e3950237f64d64ec3ca31fbe15fd8ac8e (diff)
downloadgcc-6b1e49c4431000233a54179dbb19030d0fb5348e.tar.gz
* gcc.dg/20030123-1.c: Add prototypes for builtin functions.
* gcc.dg/20040305-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87893 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/20030123-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/20040305-1.c3
3 files changed, 10 insertions, 0 deletions
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 <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
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;