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

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

https://gcc.gnu.org/g:388aada52115970d85926c07072aeb7fce4498e7

commit r17-4023-g388aada52115970d85926c07072aeb7fce4498e7
Author: Richard Biener <[email protected]>
Date:   Wed Sep 9 09:13:25 2026 +0200

    tree-optimization/127262 - ICE with uninit warning and switches

    We are not expecting the switch index and the case labels to differ
    in types.  The following fixes this by converting the case label
    values accordingly.

            PR tree-optimization/127262
            * gimple-predicate-analysis.cc (predicate::init_from_control_deps):
            Convert switch label values to the type of the switch index.

            * gcc.dg/pr127262.c: New testcase.

Reply via email to