blob: 3e0a3d659d1d1c89d7902800e8b095182aefd2dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* { dg-options "-O -ftrivial-auto-var-init=zero -fdump-tree-ccp1" } */
int foo (int flag)
{
int i;
if (flag)
i = 1;
return i;
}
/* { dg-final { scan-tree-dump "return 1;" "ccp1" } } */
|