re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030807-9.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
3
4 static void
5 bar ()
6 {
7 const char *label2 = (*"*.L_sfnames_b" == '*') + "*.L_sfnames_b";
8 oof (label2);
9 }
10
11 void
12 ooof ()
13 {
14 if (""[0] == 0)
15 foo();
16 }
17
18 /* There should be no IF conditionals. */
19 /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
20 /* { dg-final { cleanup-tree-dump "dom3" } } */