From: Vidya Praveen Date: Mon, 21 Oct 2013 16:50:09 +0000 (+0100) Subject: 20050922-1.c: Remove stdlib.h and declare abort(). X-Git-Tag: releases/gcc-4.9.0~3318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa4840293787766fa8bd1734c89d53af1123fc11;p=thirdparty%2Fgcc.git 20050922-1.c: Remove stdlib.h and declare abort(). * gcc.dg/20050922-1.c: Remove stdlib.h and declare abort(). * gcc.dg/20050922-1.c: Remove stdlib.h and declare abort() and exit(). From-SVN: r203901 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0293a771ab05..b9926c8f3f32 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-10-21 Vidya Praveen + + * gcc.dg/20050922-1.c: Remove stdlib.h and declare abort(). + * gcc.dg/20050922-1.c: Remove stdlib.h and declare abort() and + exit(). + 2013-10-21 Richard Biener PR tree-optimization/58794 diff --git a/gcc/testsuite/gcc.dg/20050922-1.c b/gcc/testsuite/gcc.dg/20050922-1.c index ed5a3c63e9d2..982f82011ba5 100644 --- a/gcc/testsuite/gcc.dg/20050922-1.c +++ b/gcc/testsuite/gcc.dg/20050922-1.c @@ -4,7 +4,7 @@ /* { dg-do run } */ /* { dg-options "-O1 -std=c99" } */ -#include +extern void abort (void); #if __INT_MAX__ == 2147483647 typedef unsigned int uint32_t; diff --git a/gcc/testsuite/gcc.dg/20050922-2.c b/gcc/testsuite/gcc.dg/20050922-2.c index c2974d03d9c8..2e8db829e297 100644 --- a/gcc/testsuite/gcc.dg/20050922-2.c +++ b/gcc/testsuite/gcc.dg/20050922-2.c @@ -4,7 +4,8 @@ /* { dg-do run } */ /* { dg-options "-O1 -std=c99" } */ -#include +extern void abort (void); +extern void exit (int); #if __INT_MAX__ == 2147483647 typedef unsigned int uint32_t;