]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/20030922-2.c
Merge tree-ssa-20020619-branch into mainline.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030922-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom1" } */
3
4 struct rtx_def;
5 typedef struct rtx_def *rtx;
6 struct rtx_def
7 {
8 int bb;
9 };
10 static int *block_to_bb;
11 static int target_bb;
12 static int
13 rgn_rank (rtx insn1, rtx insn2)
14 {
15 if (block_to_bb[insn1->bb] != block_to_bb[insn2->bb])
16 if (block_to_bb[insn2->bb] == target_bb
17 && block_to_bb[insn1->bb] != target_bb)
18 return 1;
19 }
20
21 /* There should be two IF conditionals. */
22 /* { dg-final { scan-tree-dump-times "if " 2 "dom1" { xfail *-*-* } } } */