Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tree-ssa / 20031022-1.c
blob27de6e90e9c65a45f881241afc4aec41399913fe
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-dom1" } */
4 typedef struct edge_def
6 int z;
7 } *edge;
8 typedef struct basic_block_def
10 edge pred;
11 } *basic_block;
12 extern struct basic_block_def entry_exit_blocks[2];
13 void
14 blah (int arf)
16 edge e;
17 e = (&entry_exit_blocks[1])->pred;
18 for ( ; ;)
19 if (arf)
20 break;
21 commit_edge_insertions ();
22 e = (&entry_exit_blocks[1])->pred;
23 foo (e);
26 /* There should be one load from entry_exit_blocks[1].pred. */
27 /* { dg-final { scan-tree-dump-times "entry_exit_blocks.1..pred" 1 "dom1"} } */
28 /* { dg-final { cleanup-tree-dump "dom1" } } */