gcc/testsuite/gcc.c-torture/compile/pr116600.c
raw| 1 | /* PR rtl-optimization/116600 */ |
| 2 | |
| 3 | int a, b; |
| 4 | int foo (); |
| 5 | |
| 6 | int |
| 7 | bar () |
| 8 | { |
| 9 | int c = ({ int d = 0, e = foo (); |
| 10 | b = __builtin_expect (e, 1); if (b) ; else d = 4; d; }); |
| 11 | if (c) |
| 12 | return c; |
| 13 | foo (); |
| 14 | if (a) |
| 15 | __asm__ goto ("" : : : : l); |
| 16 | l: |
| 17 | return 0; |
| 18 | } |
| 19 | |
| 20 | void |
| 21 | baz () |
| 22 | { |
| 23 | bar (); |
| 24 | } |