projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
686c1b7
)
Combine logical OR ranges properly. pr97567
author
Andrew MacLeod
<amacleod@redhat.com>
Tue, 27 Oct 2020 14:13:18 +0000
(10:13 -0400)
committer
Andrew MacLeod
<amacleod@redhat.com>
Tue, 27 Oct 2020 14:14:20 +0000
(10:14 -0400)
update testcase to work on 32 bit targets
gcc/testsuite
* gcc.dg/pr97567.c: Update to work with 32 bit targets.
gcc/testsuite/gcc.dg/pr97567.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/pr97567.c
b/gcc/testsuite/gcc.dg/pr97567.c
index b2b72a4d2a7c60654f197e8ffa4237271da8227d..8922f277214a72413138e61512d523ee97f5c34c 100644
(file)
--- a/
gcc/testsuite/gcc.dg/pr97567.c
+++ b/
gcc/testsuite/gcc.dg/pr97567.c
@@
-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 (;;)