Commit 7217a9eb by Roger Sayle Committed by Roger Sayle

large-size-array-3.c: Correct test case (portability).


	* gcc.dg/large-size-array-3.c: Correct test case (portability).

From-SVN: r121266
parent 94468b1c
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
/* { 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment