gcc/testsuite/gcc.c-torture/compile/statement-expression-1.c
raw| 1 | /* PR middle-end/30253, We would ICE with statement expressions |
| 2 | in a conditional expression because we forgot to update the wrapper |
| 3 | function for the gimple modify statement. */ |
| 4 | |
| 5 | #define f(x) ({ unsigned tmp=x; tmp; }) |
| 6 | |
| 7 | unsigned foo(unsigned x) { |
| 8 | return __builtin_constant_p(x) ? 0 : f(x); |
| 9 | } |
| 10 |