Commit fa484029 by Vidya Praveen Committed by Jeff Law

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
parent 0cad6830
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> 2013-10-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/58794 PR tree-optimization/58794
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O1 -std=c99" } */ /* { dg-options "-O1 -std=c99" } */
#include <stdlib.h> extern void abort (void);
#if __INT_MAX__ == 2147483647 #if __INT_MAX__ == 2147483647
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O1 -std=c99" } */ /* { dg-options "-O1 -std=c99" } */
#include <stdlib.h> extern void abort (void);
extern void exit (int);
#if __INT_MAX__ == 2147483647 #if __INT_MAX__ == 2147483647
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment