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
This commit is contained in:
Vidya Praveen 2013-10-21 17:50:09 +01:00 committed by Jeff Law
parent 0cad6830a4
commit fa48402937
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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-10-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/58794

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;