20000320-1.c: Use __LONG_LONG_MAX__ and its friends instead of those supplied by...
authorKazu Hirata <kazu@codesourcery.com>
Mon, 30 Apr 2007 21:13:58 +0000 (21:13 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 30 Apr 2007 21:13:58 +0000 (21:13 +0000)
* gcc.c-torture/execute/ieee/20000320-1.c: Use
__LONG_LONG_MAX__ and its friends instead of those supplied by
limits.h.

From-SVN: r124306

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/ieee/20000320-1.c

index efe44a6e78b356cc94e162d9b5973c617d2198a3..2bfc6ae216c23a849a74b97f0a7c9222b34ce96c 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-30  Kazu Hirata  <kazu@codesourcery.com>
+
+       * gcc.c-torture/execute/ieee/20000320-1.c: Use
+       __LONG_LONG_MAX__ and its friends instead of those supplied by
+       limits.h.
+
 2007-04-30  Andrew pinski  <andrew_pinski@playstation.sony.com>
 
        PR C++/31721
index 5f1768c1abc5b32dff58c368d42adcb9fe8877e7..873a17df4d3fb261384c5f6152c621207caad12c 100644 (file)
@@ -1,11 +1,10 @@
 #if defined(__mips__) && defined(__sgi__)
 #include <sys/fpu.h>
 #endif /* defined(__mips__) && defined(__sgi__) */
-#include <limits.h>
-#if UINT_MAX != 4294967295u || (ULONG_LONG_MAX != 18446744073709551615ull && ULONG_MAX != 18446744073709551615ull)
+#if __INT_MAX__ != 2147483647 || (__LONG_LONG_MAX__ != 9223372036854775807ll && __LONG_MAX__ != 9223372036854775807ll)
 int main(void) { exit (0); }
 #else
-#if ULONG_MAX != 18446744073709551615ull
+#if __LONG_MAX__ != 9223372036854775807ll
 typedef unsigned long long ull;
 #else
 typedef unsigned long ull;