re PR ipa/83983 (FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8))
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 2 Mar 2018 09:57:43 +0000 (09:57 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Fri, 2 Mar 2018 09:57:43 +0000 (09:57 +0000)
commit2265b6fed12036c1219fabe3ce78ffd386646aaf
tree7118250c90b986098ebb6d324bc007ba1a17536b
parent587b2f674c954f9e5fd8786c655d763c090a85de
re PR ipa/83983 (FAIL: g++.dg/lto/pr83121  (test for LTO warnings, pr83121_0.C line 8))

PR ipa/83983
* ipa-devirt.c (odr_subtypes_equivalent_p): Get the ODR type of both
arguments if they are comparable.

From-SVN: r258133
gcc/ChangeLog
gcc/ipa-devirt.c