tree-optimization/107876 - unswitching of switch

The following shows a missed update of dominators when unswitching
removes unreachable edges from switch stmts it unswitches.  Fixed
by wiping dominator info in that case.

	PR tree-optimization/107876
	* tree-ssa-loop-unswitch.cc (clean_up_after_unswitching): Wipe
	dominator info if we removed an edge.

	* g++.dg/tree-ssa/pr107876.C: New testcase.
2 files changed