Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20020710-1.c

raw
1 /* Red Hat bugzilla #68395
2 PR middle-end/7245
3 This testcase ICEd on IA-32 because shift & compare patterns
4 predicates allowed any immediate, but constraints allowed only
5 numbers from 1 to 31. */
6
7 void foo (int *x, unsigned int y)
8 {
9 int a = y >> -13;
10 if (a)
11 *x = a;
12 }