]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/20030814-1.c
Merge tree-ssa-20020619-branch into mainline.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030814-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom3" } */
3
4
5 com(int *blah)
6 {
7 int z = *blah;
8 if (z == 256)
9 {
10 oof (z);
11 abort ();
12 }
13 return *blah;
14 }
15
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 "dom3"} } */
19
20