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

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

https://gcc.gnu.org/g:457d2b59b58e5998e1e6967316d4e3e8f24edeed

commit r14-8651-g457d2b59b58e5998e1e6967316d4e3e8f24edeed
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Wed Jan 31 10:56:15 2024 +0100

    dwarf2out: Fix ICE on large _BitInt in loc_list_from_tree_1 [PR113637]

    This spot uses SCALAR_INT_TYPE_MODE which obviously ICEs for large/huge
    BITINT_TYPE types which have BLKmode.  But such large BITINT_TYPEs
certainly
    don't fit into DWARF2_ADDR_SIZE either, so we can just assume it would be
    false if type has BLKmode.

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

            PR debug/113637
            * dwarf2out.cc (loc_list_from_tree_1): Assume integral types
            with BLKmode are larger than DWARF2_ADDR_SIZE.

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

Reply via email to