20031003-1.c: Enable only when INT_MAX == 2147483647.

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

From-SVN: r72549
This commit is contained in:
Kazu Hirata 2003-10-16 10:58:14 +00:00 committed by Kazu Hirata
parent 5bb650ec1b
commit 82917bf99d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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>
* gcc.c-torture/execute/960416-1.x: Remove.

View File

@ -1,5 +1,7 @@
/* PR optimization/9325 */
#include <limits.h>
extern void abort (void);
int f1()
@ -14,10 +16,12 @@ int f2()
int main()
{
#if INT_MAX == 2147483647
if (f1() != 2147483647)
abort ();
if (f2() != 2147483647)
abort ();
#endif
return 0;
}