gcc/testsuite/gcc.dg/torture/pr115928.c
raw| 1 | /* { dg-additional-options "-fgcse-sm" } */ |
| 2 | |
| 3 | int a[1], b, c; |
| 4 | struct { |
| 5 | int d; |
| 6 | int e; |
| 7 | int : 8; |
| 8 | } f[1]; |
| 9 | static int g; |
| 10 | char h, i, j; |
| 11 | void k(int l) { b = 5 ^ a[b ^ (l & 5)]; } |
| 12 | void m(long l) { k(c >> 6); } |
| 13 | int main() { |
| 14 | g++; |
| 15 | if (b) { |
| 16 | h = 5 && j; |
| 17 | if (h) |
| 18 | h -= i; |
| 19 | m(f[g].d); |
| 20 | m(f[g].e); |
| 21 | } |
| 22 | return 0; |
| 23 | } |