]> git.ipfire.org Git - thirdparty/gcc.git/commit
backthreader dump fix
authorRichard Biener <rguenther@suse.de>
Fri, 5 Aug 2022 10:51:43 +0000 (12:51 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 5 Aug 2022 12:32:40 +0000 (14:32 +0200)
commit6ca948264d67d4079b5868342257aee79259e301
tree371ae1076bfc1d35ae08a0dd117156086600c2fb
parent47964e766270f349f5b171bcd68ff7c1e60d85d8
backthreader dump fix

This fixes odd SUCCEEDED dumps from the backthreader registry that
can happen even though register_jump_thread cancelled the thread
as invalid.

* tree-ssa-threadbackward.cc (back_threader::maybe_register_path):
Check whether the registry register_path rejected the path.
(back_threader_registry::register_path): Return whether
register_jump_thread succeeded.
gcc/tree-ssa-threadbackward.cc