https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87957
--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Tue Nov 20 16:22:19 2018
New Revision: 266322

URL: https://gcc.gnu.org/viewcvs?rev=266322&root=gcc&view=rev
Log:

        PR lto/87957
        * ipa-devirt.c (odr_subtypes_equivalent_p): Report ODR violation
        when sybtype already violates ODR.
        (get_odr_type): Do not ICE when insert is false and type duplicate
        is not registered yet.
        (register_odr_type): Be sure to register subtypes first.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-devirt.c

Reply via email to