diff options
author | Richard Biener <rguenther@suse.de> | 2022-10-28 14:20:36 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-10-28 15:07:02 +0200 |
commit | 1add3635563b39e3c0e9bed4930d11b3f605fdd3 (patch) | |
tree | 172b91256d2daa827f12492d66f763b8292a9021 /gcc/align.h | |
parent | 084128583212bd64308f50c2ab5f4c03be40e48c (diff) | |
download | gcc-1add3635563b39e3c0e9bed4930d11b3f605fdd3.zip gcc-1add3635563b39e3c0e9bed4930d11b3f605fdd3.tar.gz gcc-1add3635563b39e3c0e9bed4930d11b3f605fdd3.tar.bz2 |
tree-optimization/107447 - avoid hoisting returns-twice calls in LIM
The following makes sure to not hoist returns-twice calls in LIM
since we have no way to move the abnormal edge associated with it
and we are prone having stray abnormal edges in the IL which will
then cause IL verification failures even when the actual call
does not return twice.
PR tree-optimization/107447
* tree-ssa-loop-im.cc (determine_max_movement): Do not
hoist returns-twice calls.
* gcc.dg/torture/pr107447.c: New testcase.
Diffstat (limited to 'gcc/align.h')
0 files changed, 0 insertions, 0 deletions