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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Jakub Jelinek
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:3df53e5554c86bfbf7f7dbfd3052678eb03afcdb

commit r14-10770-g3df53e5554c86bfbf7f7dbfd3052678eb03afcdb
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Oct 1 09:49:49 2024 +0200

    range-cache: Fix ICE on SSA_NAME with def_stmt not yet in the IL [PR116898]

    Some passes like the bitint lowering queue some statements on edges and
only
    commit them at the end of the pass.  If they use ranger at the same time,
    the ranger might see such SSA_NAMEs and ICE on those.  The following patch
    instead just punts on them.

    2024-10-01  Jakub Jelinek  <ja...@redhat.com>

            PR middle-end/116898
            * gimple-range-cache.cc (ranger_cache::block_range): If a SSA_NAME
            with NULL def_bb isn't SSA_NAME_IS_DEFAULT_DEF, return false
instead
            of failing assertion.  Formatting fix.

            * gcc.dg/bitint-110.c: New test.

    (cherry picked from commit bdbd0607d5933cdecbf7e009a42f1d9486dddf44)

Reply via email to