* gcc.c-torture/execute/20020307-1.c: Use long.
From-SVN: r50578
This commit is contained in:
parent
cb9a8e9764
commit
1453ec8cd6
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-03-11 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* gcc.c-torture/execute/20020307-1.c: Use long.
|
||||
|
||||
2002-03-11 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR optimization/5844
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define MASK(N) ((int)((1U << (N)) - 1))
|
||||
#define BITS(N) ((1 << ((N) - 1)) + 2)
|
||||
#define MASK(N) ((1UL << (N)) - 1)
|
||||
#define BITS(N) ((1UL << ((N) - 1)) + 2)
|
||||
|
||||
#define FUNC(N) void f##N(int j) { if ((j & MASK(N)) >= BITS(N)) abort();}
|
||||
#define FUNC(N) void f##N(long j) { if ((j & MASK(N)) >= BITS(N)) abort();}
|
||||
|
||||
FUNC(3)
|
||||
FUNC(4)
|
||||
|
|
Loading…
Add table
Reference in a new issue