]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/58585 (ICE in ipa with virtual inheritance)
authorJan Hubicka <jh@suse.cz>
Fri, 10 Jan 2014 21:34:37 +0000 (22:34 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 10 Jan 2014 21:34:37 +0000 (21:34 +0000)
commitb270b096a14b869e59e10ca879b5cffa65ea3fd5
treea257114435a40ca9a3037d56f5138b40d8c8afa7
parent0d6d7b9a20f3ed4370214a03f1ee26bdda4ad4e9
re PR middle-end/58585 (ICE in ipa with virtual inheritance)

PR ipa/58585
* ipa-devirt.c (build_type_inheritance_graph): Also add types of vtables
into the type inheritance graph.

* g++.dg/torture/pr58585.C: New testcase.

From-SVN: r206543
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr58585.C [new file with mode: 0644]