Merge from mainline
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20051228-1.c
blobe997ae3946bffa45d5ccbd629ac2650d6d8ef56e
1 /* PR target/25554 */
2 /* Bitwise shift with negative shift count has undefined behavior,
3 but we shouldn't ICE on it. */
5 void
6 foo (long x)
8 if (((x >> -2) & 1) != 0)
9 bar ();