Commit e459243b by Alexandre Oliva Committed by Alexandre Oliva

20010327-1.c: Use __SIZE_TYPE__ instead of unsigned long.

* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead of
unsigned long.

From-SVN: r63551
parent 13082c80
2003-02-28 Alexandre Oliva <aoliva@redhat.com>
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead of
unsigned long.
* gcc.c-torture/compile/simd-3.c: Do nothing if double is not
wider than float.
......
extern void _text;
static unsigned long x = (unsigned long) &_text - 0x10000000L - 1;
/* We use __SIZE_TYPE__ here because it's as wide as a pointer, so we
know we won't have a non-constant because of extension or
truncation of the pointer to fit. */
static __SIZE_TYPE__ x
= (__SIZE_TYPE__) &_text - (__SIZE_TYPE__) 0x10000000L - 1;
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