rt_gccstream/gcc/testsuite/gcc.dg/tree-ssa/pr27810.c

19 lines
424 B
C

/* { 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" } } */