diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-23 19:30:44 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-23 19:30:44 +0000 |
commit | f7d54b2495ea7bf7d2a143b05cf878d0b0f0bf31 (patch) | |
tree | bcec6f041cb5086bd521d404abf56a4a2c717f0e /gcc/testsuite/gcc.dg/special | |
parent | a8fb076f23ea65fc2052611ea56fe40c52419ce4 (diff) | |
download | gcc-f7d54b2495ea7bf7d2a143b05cf878d0b0f0bf31.tar.gz |
gcc/testsuite:
* c-torture/execute/bcp-1.c: Replace abort in arg of
__builtin_constant_p with a generic external function.
* gcc.dg/20000108-1.c, gcc.dg/980211-1.c, gcc.dg/980414-1.c,
gcc.dg/990119-1.c, gcc.dg/990409.c, gcc.dg/990424-1.c,
gcc.dg/991230-1.c, gcc.dg/clobbers.c, gcc.dg/lineno.c,
gcc.dg/noreturn-1.c, gcc.dg/trigraphs.c, gcc.dg/uninit-4.c:
Prototype abort and/or exit.
* gcc.dg/990407-1.c, gcc.dg/strpaste.c,
gcc.dg/special/alias-1.c, gcc.dg/special/gcsec-1.c,
gcc.dg/special/weak-1.c, gcc.dg/special/weak-2.c,
gcc.dg/special/wkali-1.c, gcc.dg/special/wkali-2.c: Include stdlib.h.
libio/tests:
* tfformat.c: Include stdlib.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34110 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/special')
-rw-r--r-- | gcc/testsuite/gcc.dg/special/alias-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/gcsec-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/weak-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/weak-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/wkali-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/special/wkali-2.c | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/special/alias-1.c b/gcc/testsuite/gcc.dg/special/alias-1.c index 347e1745630..d58393179a8 100644 --- a/gcc/testsuite/gcc.dg/special/alias-1.c +++ b/gcc/testsuite/gcc.dg/special/alias-1.c @@ -1,5 +1,7 @@ /* { dg-do link } */ +#include <stdlib.h> + extern int foo(void) __attribute__((alias("bar"))); int bar(void) { diff --git a/gcc/testsuite/gcc.dg/special/gcsec-1.c b/gcc/testsuite/gcc.dg/special/gcsec-1.c index fa3f884fcbf..125ae1f218b 100644 --- a/gcc/testsuite/gcc.dg/special/gcsec-1.c +++ b/gcc/testsuite/gcc.dg/special/gcsec-1.c @@ -1,5 +1,7 @@ /* { dg-do run } */ +#include <stdlib.h> + static int unusedint=5; static int usedint=1; diff --git a/gcc/testsuite/gcc.dg/special/weak-1.c b/gcc/testsuite/gcc.dg/special/weak-1.c index ccf2b087a94..fa02f22ace3 100644 --- a/gcc/testsuite/gcc.dg/special/weak-1.c +++ b/gcc/testsuite/gcc.dg/special/weak-1.c @@ -1,5 +1,7 @@ /* { dg-do run } */ +#include <stdlib.h> + int foo(void) __attribute__((weak)); int foo(void) { diff --git a/gcc/testsuite/gcc.dg/special/weak-2.c b/gcc/testsuite/gcc.dg/special/weak-2.c index 74259cf9bca..b51ba8373e0 100644 --- a/gcc/testsuite/gcc.dg/special/weak-2.c +++ b/gcc/testsuite/gcc.dg/special/weak-2.c @@ -1,5 +1,7 @@ /* { dg-do run } */ +#include <stdlib.h> + extern int foo(void); int main(void) { diff --git a/gcc/testsuite/gcc.dg/special/wkali-1.c b/gcc/testsuite/gcc.dg/special/wkali-1.c index d33c8d1d601..f28d40b9795 100644 --- a/gcc/testsuite/gcc.dg/special/wkali-1.c +++ b/gcc/testsuite/gcc.dg/special/wkali-1.c @@ -1,5 +1,7 @@ /* { dg-do link } */ +#include <stdlib.h> + extern int foo(void) __attribute__((weak, alias("bar"))); int bar(void) { diff --git a/gcc/testsuite/gcc.dg/special/wkali-2.c b/gcc/testsuite/gcc.dg/special/wkali-2.c index 74259cf9bca..b51ba8373e0 100644 --- a/gcc/testsuite/gcc.dg/special/wkali-2.c +++ b/gcc/testsuite/gcc.dg/special/wkali-2.c @@ -1,5 +1,7 @@ /* { dg-do run } */ +#include <stdlib.h> + extern int foo(void); int main(void) { |