OSDN Git Service

PR rtl-optimization/52139
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030807-9.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
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 "dom2"} } */
20 /* { dg-final { cleanup-tree-dump "dom2" } } */