[Bug debug/113777] ICE: in add_child_die_after, at dwarf2out.cc:5785 with -g -fsso-struct=big-endian and __attribute__((__hardbool__))
aoliva at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 8 15:00:34 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113777
--- Comment #1 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Eric, I think this is yours.
It fails while trying to add a reversed version of the hbool type to the
context of the struct, but the struct doesn't have children yet, and
add_child_die_after requires the context to have children already. The
assumption that the original, unreversed type was introduced in the same
context doesn't hold.
More information about the Gcc-bugs
mailing list