aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr27810.c
blob: 5c1945bb5c183f9cd7e43d97cfad19cc0a9c831b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { 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" 4 "gimple" } } */
/* { dg-final { scan-tree-dump-times "int D\\\." 1 "gimple" } } */