aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-07-29 08:24:52 +0200
committerRichard Biener <rguenther@suse.de>2022-07-29 10:47:47 +0200
commit4894ba078692a780a461d2f358b5dfaa25719859 (patch)
tree1df9d0769b37ad08851cc08c4e6a842c134da483 /libgo
parent2dcceedb3c121f2498ae58d8414e7b8454b7bf55 (diff)
downloadgcc-4894ba078692a780a461d2f358b5dfaa25719859.zip
gcc-4894ba078692a780a461d2f358b5dfaa25719859.tar.gz
gcc-4894ba078692a780a461d2f358b5dfaa25719859.tar.bz2
tree-optimization/106422 - verify block copying in forward threading
The forward threader failed to check whether it can actually duplicate blocks. The following adds this in a similar place the backwards threader performs this check. PR tree-optimization/106422 * tree-ssa-threadupdate.cc (fwd_jt_path_registry::update_cfg): Check whether we can copy thread blocks and cancel the thread if not. * gcc.dg/torture/pr106422.c: New testcase.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions