ipa-devirt.c (odr_subtypes_equivalent_p): Fix recursion.
authorJan Hubicka <jh@suse.cz>
Fri, 26 Oct 2018 09:32:47 +0000 (11:32 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 26 Oct 2018 09:32:47 +0000 (09:32 +0000)
commitabb967da1c0d6deb98de488213aaaa06a785adc5
tree0364fb377420f21af8a467863bd493d85edea497
parenta1f072e2441c58f6a486f90bb9a32bd5f6c51cb4
ipa-devirt.c (odr_subtypes_equivalent_p): Fix recursion.

* ipa-devirt.c (odr_subtypes_equivalent_p): Fix recursion.
(warn_types_mismatch): Fix walk of DECL_NAME.
(odr_types_equivalent_p): Fix overactive assert.
* lto/lto-symtab.c (lto_symtab_merge_decls_2): Fix extra space.

* g++.dg/lto/odr-1_0.C: Fix template.
* g++.dg/lto/odr-1_1.C: Fix template.

From-SVN: r265523
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/lto/ChangeLog
gcc/lto/lto-symtab.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/odr-1_0.C
gcc/testsuite/g++.dg/lto/odr-1_1.C