From: Kazu Hirata Date: Mon, 30 Apr 2007 21:13:58 +0000 (+0000) Subject: 20000320-1.c: Use __LONG_LONG_MAX__ and its friends instead of those supplied by... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=813ba481e7f6dae3a4cfcfb361d2b57b4a8dfa24;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index efe44a6e78b..2bfc6ae216c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-04-30 Kazu Hirata + + * 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 PR C++/31721 diff --git a/gcc/testsuite/gcc.c-torture/execute/ieee/20000320-1.c b/gcc/testsuite/gcc.c-torture/execute/ieee/20000320-1.c index 5f1768c1abc..873a17df4d3 100644 --- a/gcc/testsuite/gcc.c-torture/execute/ieee/20000320-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/ieee/20000320-1.c @@ -1,11 +1,10 @@ #if defined(__mips__) && defined(__sgi__) #include #endif /* defined(__mips__) && defined(__sgi__) */ -#include -#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;