backport: 20050922-1.c: Remove stdlib.h and declare abort().

2013-11-25  Vidya Praveen  <vidyapraveen@arm.com>

	Backport from mainline
	2013-10-21  Vidya Praveen  <vidyapraveen@arm.com>

	* 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: r205350
This commit is contained in:
Vidya Praveen 2013-11-25 11:57:01 +00:00 committed by Vidya Praveen
parent c58fb6b6b1
commit cd81d3ba54
3 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2013-11-25 Vidya Praveen <vidyapraveen@arm.com>
Backport from mainline
2013-10-21 Vidya Praveen <vidyapraveen@arm.com>
* 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-11-17 Paul Thomas <pault@gcc.gnu.org>
PR fortran/58771

View File

@ -4,7 +4,7 @@
/* { dg-do run } */
/* { dg-options "-O1 -std=c99" } */
#include <stdlib.h>
extern void abort (void);
#if __INT_MAX__ == 2147483647
typedef unsigned int uint32_t;

View File

@ -4,7 +4,8 @@
/* { dg-do run } */
/* { dg-options "-O1 -std=c99" } */
#include <stdlib.h>
extern void abort (void);
extern void exit (int);
#if __INT_MAX__ == 2147483647
typedef unsigned int uint32_t;