lto-symtab.c (lto_symtab_merge_decls_2): Do not report ODR violations for method...
authorJan Hubicka <hubicka@ucw.cz>
Mon, 24 Dec 2018 11:12:42 +0000 (12:12 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 24 Dec 2018 11:12:42 +0000 (11:12 +0000)
commitd840d7a2bbbfd97d054baa7462ada09215d93974
treecab919fda937ce1b1f3730f8c18624be83205c8f
parentc23f39f8481305a53216bf0f4b8b33e637157387
lto-symtab.c (lto_symtab_merge_decls_2): Do not report ODR violations for method whose basetype was already reported.

* lto-symtab.c (lto_symtab_merge_decls_2): Do not report ODR violations
for method whose basetype was already reported.

* ipa-devirt.c (odr_type_violation_reported_p): New.
* ipa-utils.h (odr_type_violation_reported_p): Declare.

From-SVN: r267397
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/ipa-utils.h
gcc/lto/ChangeLog
gcc/lto/lto-symtab.c