PR ipa/pr67600
authorJan Hubicka <hubicka@ucw.cz>
Fri, 23 Oct 2015 23:33:58 +0000 (01:33 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 23 Oct 2015 23:33:58 +0000 (23:33 +0000)
commitd36475161db73e68889937a5304b1ed13e8603e9
tree545a2facccda5811f1da92bc222edfa3b0c0864a
parent3c7a8ece3e130a713f6ec6a900cadfbe50583d91
PR ipa/pr67600

PR ipa/pr67600
* ipa-polymorphic-call.c
(ipa_polymorphic_call_context::get_dynamic_type): Do not confuse
instance offset with offset of outer type.
* g++.dg/torture/pr67600.C: New testcase.

From-SVN: r229279
gcc/ChangeLog
gcc/ipa-polymorphic-call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr67600.C [new file with mode: 0644]