2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20020710-1.c
blobbf6c9066cdd738b00dc0bf51ff1b7cae310fbbb0
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. */
7 void foo (int *x, unsigned int y)
9 int a = y >> -13;
10 if (a)
11 *x = a;