blob: 345fcfa0d014ff44e8b653a1f6f82ed2f53e4cc3 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fno-tree-forwprop --param=evrp-mode=ranger -fcompare-debug " } */
extern void __attribute__((noreturn)) error();
int x;
static inline int bar(void) {
char n = 1;
int i = x & 1U << n - 1;
return i;
}
void foo()
{
int a = bar();
for (;;) {
bool b;
int d = a;
b = a < 2;
if (!b)
error();
}
}