☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20051228-1.c
☽
☼
gcc/testsuite/gcc.c-torture/compile/20051228-1.c
code
plain
raw
1
/* PR target/25554 */
2
/* Bitwise shift with negative shift count has undefined behavior,
3
but we shouldn't ICE on it. */
4
5
void bar (void);
6
7
void
8
foo (long x)
9
{
10
if (((x >> -2) & 1) != 0)
11
bar ();
12
}