Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/BUG4.c

raw
1 int foo()
2 {
3 char c;
4
5 return (c ^ 30 ) > (c ^ 40 );
6 /*
7 these also get the signal :
8 return (c ^ 30 ) == (c ^ 40 );
9 return ((int)c ^ 30 ) > (c ^ 40 );
10 also fails if c is "extern char"
11
12 these are ok :
13 return (c + 30 ) > (c ^ 40 );
14 return (c ^ 30 ) > (c + 40 );
15 return (c ^ 30 ) + (c ^ 40 );
16 return ('a' ^ 30 ) > (c ^ 40 );
17 return (c ^ 40 );
18 return (c ^ 30 ) > (c ^ 40 );
19 */
20 }