aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr27800.c
blob: e92ebc22e6f6bf756b9c46082785cc403f6c37dd (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple" } */

int iii (int a, int b, int c)
{
  return a ? b : c;
}

/* Verify we end up with two assignments and not an extra copy
   resulting from another temporary generated from gimplify_cond_expr.  */
/* { dg-final { scan-tree-dump-times " = " 2 "gimple" } } */