Skip to content
Snippets Groups Projects
Commit af8ff004 authored by Richard Biener's avatar Richard Biener Committed by Richard Biener
Browse files

remove dominator recursion from reassoc

The reassoc pass currently walks dominators in a recursive way where
I ran into a stack overflow with.  The following replaces it with
worklists following patterns used elsewhere.

	* tree-ssa-reassoc.cc (break_up_subtract_bb): Remove recursion.
	(reassociate_bb): Likewise.
	(do_reassoc): Implement worklist based dominator walks for
	both break_up_subtract_bb and reassociate_bb.
parent 9b762638
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment