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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-16 branch has been updated by Richard Biener
<[email protected]>:

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

commit r16-9036-gd4e24973be86c36709f0ddcfbf2dc0f3779ebae3
Author: Richard Biener <[email protected]>
Date:   Mon May 4 11:18:24 2026 +0200

    middle-end/125156 - preserve edge flags in cleanup_control_expr_graph

    cleanup_control_expr_graph when setting EDGE_FALLTHRU cleared all
    existing edge flags such as EDGE_IRREDUCIBLE_LOOP rather than
    just the no longer relevant EDGE_TRUE_VALUE and EDGE_FALSE_VALUE flags.

            PR middle-end/125156
            * tree-cfgcleanup.cc (cleanup_control_expr_graph): Clear
            EDGE_TRUE_VALUE and EDGE_FALSE_VALUE edge flags only.

            * gcc.dg/torture/pr125156.c: New testcase.

    (cherry picked from commit 7b804275b251cabc9699717713f3870b89ab3395)

Reply via email to