https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106495

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:b9da686470d1c23929eefb401280ad8ba17e2a58

commit r13-1924-gb9da686470d1c23929eefb401280ad8ba17e2a58
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Aug 1 14:59:08 2022 +0200

    tree-optimization/106495 - avoid threading to possibly never executed edge

    The following builds upon the logic of the PR105679 fix by avoiding
    to thread to a known edge that is predicted as probably never executed.

            PR tree-optimization/106495
            * tree-ssa-threadbackward.cc
            (back_threader_profitability::profitable_path_p): If known_edge
            is probably never executed avoid threading.

Reply via email to