re PR lto/65361 (LTO: tree check: expected tree that contains ‘decl minimal’ structur...
authorJakub Jelinek <jakub@redhat.com>
Mon, 9 Mar 2015 20:19:34 +0000 (21:19 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 9 Mar 2015 20:19:34 +0000 (21:19 +0100)
commit9112885a6da43eef107fa3ac6262abbb9d5e1717
tree8b08ba52daf2b1e59d32778499cae0db9442867b
parenta2f259ef04b104e6ee9770b2d4c11c93195654ad
re PR lto/65361 (LTO: tree check: expected tree that contains ‘decl minimal’ structure, have ‘tree_binfo’ in add_type_duplicate, at ipa-devirt.c:1509)

PR lto/65361
* ipa-devirt.c (add_type_duplicate): Don't use DECL_CONTEXT
on a TREE_BINFO, instead use BINFO_TYPE.

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