diff options
author | Richard Biener <rguenther@suse.de> | 2020-05-15 09:38:54 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-12-01 14:59:51 +0100 |
commit | 3d0da0bc398054f2c37f09b13ccf7e2e2ef63b22 (patch) | |
tree | a9a8ea38b1491a69ab1e5fef86f105ef35319d28 /gcc/tree-ssa-loop-unswitch.c | |
parent | 427fe143a43ba13497759e1482ce683deed9a00b (diff) | |
download | gcc-3d0da0bc398054f2c37f09b13ccf7e2e2ef63b22.zip gcc-3d0da0bc398054f2c37f09b13ccf7e2e2ef63b22.tar.gz gcc-3d0da0bc398054f2c37f09b13ccf7e2e2ef63b22.tar.bz2 |
tree-optimization/95133 - avoid abnormal edges in path splitting
When path splitting tries to detect a CFG diamond make sure it
is composed of normal (non-EH, not abnormal) edges. Otherwise
CFG manipulation later may fail.
2020-05-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/95133
* gimple-ssa-split-paths.c
(find_block_to_duplicate_for_splitting_paths): Check for
normal edges.
* gcc.dg/pr95133.c: New testcase.
(cherry picked from commit aaf1ee48316f9b414b11c17e298198925d816595)
Diffstat (limited to 'gcc/tree-ssa-loop-unswitch.c')
0 files changed, 0 insertions, 0 deletions