Commit 77fcaf4b by Zdenek Dvorak Committed by Zdenek Dvorak

re PR tree-optimization/20773 (ICE: SEGV building jar file)

	PR tree-optimization/20773
	* tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch
	edge.

From-SVN: r102425
parent c11b0231
2005-07-27 Zdenek Dvorak <dvorakz@suse.cz>
PR tree-optimization/20773
* tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch
edge.
2005-07-27 Richard Guenther <rguenther@suse.de> 2005-07-27 Richard Guenther <rguenther@suse.de>
* tree-ssa-structalias.c (push_fields_onto_fieldstack): * tree-ssa-structalias.c (push_fields_onto_fieldstack):
......
...@@ -197,7 +197,7 @@ copy_loop_headers (void) ...@@ -197,7 +197,7 @@ copy_loop_headers (void)
/* Ensure that the header will have just the latch as a predecessor /* Ensure that the header will have just the latch as a predecessor
inside the loop. */ inside the loop. */
if (!single_pred_p (exit->dest)) if (!single_pred_p (exit->dest))
exit = single_succ_edge (loop_split_edge_with (exit, NULL)); exit = single_pred_edge (loop_split_edge_with (exit, NULL));
entry = loop_preheader_edge (loop); entry = loop_preheader_edge (loop);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment