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

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

https://gcc.gnu.org/g:99e00f7ee0e60c13a38d4c68197afd83862173fa

commit r15-11486-g99e00f7ee0e60c13a38d4c68197afd83862173fa
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