1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom2" } */
4 extern void abort (void);
10 if (blah
[(unsigned int)index
] != 0)
12 if (blah
[(unsigned int)index
] != 0)
16 /* There should be precisely one load of blah. If there is
17 more than one, then the dominator optimizations failed. */
18 /* { dg-final { scan-tree-dump-times "blah" 1 "dom2"} } */
20 /* There should be exactly one IF conditional. */
21 /* { dg-final { scan-tree-dump-times "if " 1 "dom2"} } */