large-size-array-3.c: Correct test case (portability).
* gcc.dg/large-size-array-3.c: Correct test case (portability). From-SVN: r121266
This commit is contained in:
parent
94468b1ceb
commit
7217a9eb9f
|
@ -1,3 +1,7 @@
|
|||
2007-01-28 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* gcc.dg/large-size-array-3.c: Correct test case (portability).
|
||||
|
||||
2007-01-28 Andrew Pinski <pinskia@gmail.com>
|
||||
|
||||
PR C++/28988
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
/* { dg-do compile } */
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef __LP64__
|
||||
#define DIM UINT_MAX>>1
|
||||
#define DIM (UINT_MAX>>1)+1
|
||||
#else
|
||||
#define DIM 65536
|
||||
#define DIM (USHRT_MAX>>)+1
|
||||
#endif
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue