Skip to content
Snippets Groups Projects
Commit f02797d4 authored by kazu's avatar kazu
Browse files

* gcc.c-torture/execute/20031003-1.c: Enable only when INT_MAX

	== 2147483647.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72549 138bc75d-0d04-0410-961f-82ee72b054a4
parent 9c8a1629
No related branches found
No related tags found
No related merge requests found
2003-10-16 Kazu Hirata <kazu@cs.umass.edu>
* gcc.c-torture/execute/20031003-1.c: Enable only when INT_MAX
== 2147483647.
2003-10-15 Kazu Hirata <kazu@cs.umass.edu> 2003-10-15 Kazu Hirata <kazu@cs.umass.edu>
   
* gcc.c-torture/execute/960416-1.x: Remove. * gcc.c-torture/execute/960416-1.x: Remove.
......
/* PR optimization/9325 */ /* PR optimization/9325 */
#include <limits.h>
extern void abort (void); extern void abort (void);
int f1() int f1()
...@@ -14,10 +16,12 @@ int f2() ...@@ -14,10 +16,12 @@ int f2()
int main() int main()
{ {
#if INT_MAX == 2147483647
if (f1() != 2147483647) if (f1() != 2147483647)
abort (); abort ();
if (f2() != 2147483647) if (f2() != 2147483647)
abort (); abort ();
#endif
return 0; return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment