aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/special/gcsec-1.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@wolery.cumb.org>2000-05-23 19:30:44 +0000
committerZack Weinberg <zack@gcc.gnu.org>2000-05-23 19:30:44 +0000
commit7b8442983d5a10cc648ffd493c9bb44569367fa5 (patch)
treebcec6f041cb5086bd521d404abf56a4a2c717f0e /gcc/testsuite/gcc.dg/special/gcsec-1.c
parent3839069b02cfe7fdec691f6aacb9fd01b21d61c3 (diff)
downloadgcc-7b8442983d5a10cc648ffd493c9bb44569367fa5.zip
gcc-7b8442983d5a10cc648ffd493c9bb44569367fa5.tar.gz
gcc-7b8442983d5a10cc648ffd493c9bb44569367fa5.tar.bz2
bcp-1.c: Replace abort in arg of __builtin_constant_p with a generic external function.
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. From-SVN: r34110
Diffstat (limited to 'gcc/testsuite/gcc.dg/special/gcsec-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/special/gcsec-1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/special/gcsec-1.c b/gcc/testsuite/gcc.dg/special/gcsec-1.c
index fa3f884..125ae1f 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;