PR ipa/83983
commit74d4d042498ca5542d3a32453fd232feacf10407
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2018 09:57:43 +0000 (2 09:57 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Mar 2018 09:57:43 +0000 (2 09:57 +0000)
tree7118250c90b986098ebb6d324bc007ba1a17536b
parent5f9e77dd8c43ff4a1f989c429c3c9967c5b00e3d
PR ipa/83983
* ipa-devirt.c (odr_subtypes_equivalent_p): Get the ODR type of both
arguments if they are comparable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258133 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-devirt.c