re PR ipa/87957 (ICE tree check: expected tree that contains ‘decl minimal’ structure...
authorJan Hubicka <hubicka@ucw.cz>
Sat, 17 Nov 2018 11:35:01 +0000 (12:35 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sat, 17 Nov 2018 11:35:01 +0000 (11:35 +0000)
commitba1677480a6974a693c8b4136b4a0bc52e19d551
treefa4f187a086189c2de819c1fc63b1fe07665d54d
parentd7815fc4509e0caf04c4b43de89b20ac57504307
re PR ipa/87957 (ICE tree check: expected tree that contains ‘decl minimal’ structure, have ‘identifier_node’ in warn_odr, at ipa-devirt.c:1051 since r265519)

PR ipa/87957
* ipa-devirt.c (warn_odr): Look for main variant to get TYPE_DECL.

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