/* { dg-do compile } */ /* { dg-options "-fdump-tree-gimple" } */ int bar (int); int qqq (int a) { int result; result = bar (a); return result; } /* We should not use an extra temporary for the result of the function call. */ /* { dg-final { scan-tree-dump-times "int" 3 "gimple" } } */ /* { dg-final { scan-tree-dump-times "int D\\\." 1 "gimple" } } */ /* { dg-final { cleanup-tree-dump "gimple" } } */