gcc/testsuite/gcc.dg/tree-ssa/pr27810.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-fdump-tree-gimple" } */ |
| 3 | |
| 4 | int bar (int); |
| 5 | |
| 6 | int qqq (int a) |
| 7 | { |
| 8 | int result; |
| 9 | result = bar (a); |
| 10 | return result; |
| 11 | } |
| 12 | |
| 13 | /* We should not use an extra temporary for the result of the |
| 14 | function call. */ |
| 15 | |
| 16 | /* { dg-final { scan-tree-dump-times "int" 4 "gimple" } } */ |
| 17 | /* { dg-final { scan-tree-dump-times "int D\\\." 1 "gimple" } } */ |