aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr27810.c
blob: 84dfcc9ed919c9ec52b898f56b83cc6266ce1b8c (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" 3 "gimple" } } */
/* { dg-final { scan-tree-dump-times "int D\\\." 1 "gimple" } } */