Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20050412-1.c
blob9c172d769a4ebac295894d608087d503d0ec74f8
1 /* PR tree-optimization/14627 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
6 int b;
7 void foo (int a) {
8 if (a)
9 a = 3;
10 b = a;
13 /* Make sure we do not have an assignment a = 0 in the resulting
14 optimized dump. */
15 /* { dg-final { scan-tree-dump-times "a.* = 0;" 0 "optimized"} } */
16 /* { dg-final { cleanup-tree-dump "optimized" } } */