]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR lto/88142
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Nov 2018 23:10:57 +0000 (23:10 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Nov 2018 23:10:57 +0000 (23:10 +0000)
commit39ac5418fd5553045b3594965af38dd193b4b26b
treeb888de064a3861f4602fabf1e6ad29106fb95261
parent490c362e611c03f429a42fda91bc826c734deaf7
PR lto/88142
* ipa-devirt.c (type_variants_equivalent_p): Drop warn and warned
parameters; do not warn here.
(odr_subtypes_equivalent_p): Likewise.
(warn_odr): Fix typo.
(warn_types_mismatch): Do not output confused warnings on integer types.
(odr_types_equivalent_p): Update.

* g++.dg/lto/odr-5_0.C: New testcase.
* g++.dg/lto/odr-5_1.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266396 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/odr-4_0.C
gcc/testsuite/g++.dg/lto/odr-5_0.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lto/odr-5_1.C [new file with mode: 0644]