1 /* { dg-do compile } */ 2 /* { dg-options "-O1 -fdump-tree-dom2" } */ 3 4 void oof (const char *); 5 void foo (void); 6 7 static void bar()8bar () 9 { 10 const char *label2 = (*"*.L_sfnames_b" == '*') + "*.L_sfnames_b"; 11 oof (label2); 12 } 13 14 void ooof()15ooof () 16 { 17 if (""[0] == 0) 18 foo(); 19 } 20 21 /* There should be no IF conditionals. */ 22 /* { dg-final { scan-tree-dump-times "if " 0 "dom2"} } */ 23