diff options
author | Richard Biener <rguenther@suse.de> | 2022-07-29 08:24:52 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-07-29 10:47:47 +0200 |
commit | 4894ba078692a780a461d2f358b5dfaa25719859 (patch) | |
tree | 1df9d0769b37ad08851cc08c4e6a842c134da483 /libgo/sysinfo.c | |
parent | 2dcceedb3c121f2498ae58d8414e7b8454b7bf55 (diff) | |
download | gcc-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/sysinfo.c')
0 files changed, 0 insertions, 0 deletions