Commit 1453ec8c by Kazu Hirata Committed by Kazu Hirata

* gcc.c-torture/execute/20020307-1.c: Use long.

From-SVN: r50578
parent cb9a8e97
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
......
#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)
......
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