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: r46689
This commit is contained in:
Stephane Carrez 2001-11-01 11:17:35 +01:00 committed by Stephane Carrez
parent c1a31f6702
commit 9199347f9a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead
of unsigned long.
2001-10-30 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/20011029-2.c: New test.

View File

@ -1,2 +1,2 @@
extern void _text;
static unsigned long x = (unsigned long) &_text - 0x10000000L - 1;
static __SIZE_TYPE__ x = (__SIZE_TYPE__) &_text - 0x10000000L - 1;