https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89358
--- Comment #16 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Author: hubicka Date: Sun Apr 14 20:56:45 2019 New Revision: 270355 URL: https://gcc.gnu.org/viewcvs?rev=270355&root=gcc&view=rev Log: PR lto/89358 * g++.dg/lto/pr89358_0.C: New testcase. * g++.dg/lto/pr89358_1.C: New testcase. * ipa-devirt.c (skip_in_fields_list_p): New. (odr_types_equivalent_p): Use it. Added: trunk/gcc/testsuite/g++.dg/lto/pr89358_0.C trunk/gcc/testsuite/g++.dg/lto/pr89358_1.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-devirt.c trunk/gcc/testsuite/ChangeLog