20000320-1.c: Use __LONG_LONG_MAX__ and its friends instead of those supplied by limits.h.

* 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
This commit is contained in:
Kazu Hirata 2007-04-30 21:13:58 +00:00 committed by Kazu Hirata
parent 18452a7da9
commit 813ba481e7
2 changed files with 8 additions and 3 deletions

View 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

View 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;