mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-19 22:31:07 +08:00
Combine logical OR ranges properly. pr97567
update testcase to work on 32 bit targets gcc/testsuite * gcc.dg/pr97567.c: Update to work with 32 bit targets.
This commit is contained in:
parent
686c1b70c7
commit
3af44504d4
@ -4,7 +4,7 @@
|
||||
int a, b, c, d;
|
||||
void k() {
|
||||
unsigned f = 1;
|
||||
long g = 4073709551615;
|
||||
long long g = 4073709551615;
|
||||
for (; a; a++)
|
||||
for (;;) {
|
||||
d = 0;
|
||||
@ -16,7 +16,7 @@ void k() {
|
||||
;
|
||||
g || f;
|
||||
int i = 0 - f || g;
|
||||
long j = g - f;
|
||||
long long j = g - f;
|
||||
if (j || f) {
|
||||
if (g < 4073709551615)
|
||||
for (;;)
|
||||
|
Loading…
x
Reference in New Issue
Block a user