aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-07-04 15:03:33 +0200
committerRichard Biener <rguenther@suse.de>2022-07-05 09:28:45 +0200
commitb55284f4a1235fccd8254f539ddc6b869580462b (patch)
treef80dc4f8aa2b8f414886d80472aefcac3fe2ba27 /gcc/ada
parent8467574d8daac47e0cf5b694f6c012aad8d630a6 (diff)
downloadgcc-b55284f4a1235fccd8254f539ddc6b869580462b.zip
gcc-b55284f4a1235fccd8254f539ddc6b869580462b.tar.gz
gcc-b55284f4a1235fccd8254f539ddc6b869580462b.tar.bz2
tree-optimization/106182 - LC SSA after CFG cleanup
The testcase shows that when cleaning up the CFG we can end up with broken LC SSA (for virtual operands with the testcase). The case here involves deleting a loop after which it is not enough to scan the blocks with changed loop depth for SSA uses that need to be rewritten. So make fix_loop_sturcture return the sum of the number of new loops and the number of deleted loops. PR tree-optimization/106182 * loop-init.cc (fix_loop_structure): Return the number of newly discovered plus the number of deleted loops. * tree-cfgcleanup.cc (repair_loop_structures): Adjust variable name. * gcc.dg/torture/pr106182.c: New testcase.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions