[Bug lto/91027] [10 regression] SEGV in hash_table<odr_name_hasher, false, xcallocator>::find_slot_with_hash
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Thu Jul 4 16:08:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91027
--- Comment #2 from Jan Hubicka <hubicka at ucw dot cz> ---
Hi,
the reason is that type "struct C264" has DECL_ASSEMBLER_NAME (TYPE_NAME
(type))
set to <identifier_node 0x7ffff660f3c0 10ltotests_04C284>
which makes LTO to consider this type to be C++ type conforming ODR
rule.
I am not really fluent with d. Does d have something like ODR?
If it doesn't then we need to arrange free_lang data to not consider d
types to be C++ ODR types.
The type seems to not be seen by free lang data which by itself is
confusing.
Honza
More information about the Gcc-bugs
mailing list