On 8/5/2022 6:31 AM, Richard Biener via Gcc-patches wrote:
This fixes odd SUCCEEDED dumps from the backthreader registry that can happen even though register_jump_thread cancelled the thread as invalid. Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. * 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.
LGTM. jeff