diff options
author | Richard Biener <rguenther@suse.de> | 2022-11-28 09:19:33 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-11-28 10:04:42 +0100 |
commit | 238cf114de16518c6569f0cdd2c4d6211ac98a74 (patch) | |
tree | f2d074e9a906b6019c3e3f9649ae8782ea172f09 /gcc/ada/adaint.c | |
parent | 0976b012d89e3d819d83cdaf0dab05925b3eb3a0 (diff) | |
download | gcc-238cf114de16518c6569f0cdd2c4d6211ac98a74.zip gcc-238cf114de16518c6569f0cdd2c4d6211ac98a74.tar.gz gcc-238cf114de16518c6569f0cdd2c4d6211ac98a74.tar.bz2 |
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.
Diffstat (limited to 'gcc/ada/adaint.c')
0 files changed, 0 insertions, 0 deletions