1/* { dg-do compile } */ 2/* { dg-options "-fdump-tree-gimple" } */ 3 4int bar (int); 5 6int 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" 3 "gimple" } } */ 17/* { dg-final { scan-tree-dump-times "int D\\\." 1 "gimple" } } */ 18/* { dg-final { cleanup-tree-dump "gimple" } } */ 19