diff options
author | Richard Biener <rguenther@suse.de> | 2023-03-29 11:59:16 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-03-29 13:55:47 +0200 |
commit | 86efc490ab86bfa00720479b4714da23cd7df797 (patch) | |
tree | 6c2f1d51e1efaf67f8db6ce855fe989921ccc2e5 /gcc/range-op-float.cc | |
parent | ad32fcb8e91ba85cb4676c6249b6adc4b0daf9df (diff) | |
download | gcc-86efc490ab86bfa00720479b4714da23cd7df797.zip gcc-86efc490ab86bfa00720479b4714da23cd7df797.tar.gz gcc-86efc490ab86bfa00720479b4714da23cd7df797.tar.bz2 |
tree-optimization/109331 - make sure to clean up the CFG after forwprop
When forwprop discovers unreachable code or makes decisions based
on unreachable edges make sure to cleanup the CFG since otherwise
SSA form can become invalid.
PR tree-optimization/109331
* tree-ssa-forwprop.cc (pass_forwprop::execute): When we
discover a taken edge make sure to cleanup the CFG.
* gcc.dg/torture/pr109331.c: New testcase.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions