gcc/testsuite/gcc.dg/pr27800.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-fdump-tree-gimple" } */ |
| 3 | |
| 4 | int iii (int a, int b, int c) |
| 5 | { |
| 6 | return a ? b : c; |
| 7 | } |
| 8 | |
| 9 | /* Verify we end up with two assignments and not an extra copy |
| 10 | resulting from another temporary generated from gimplify_cond_expr. */ |
| 11 | /* { dg-final { scan-tree-dump-times " = " 2 "gimple" } } */ |