Commit b41e0d29 by Jan Hubicka Committed by Jan Hubicka

ipa-devirt.c (possible_polymorphic_call_targets): Return early if otr_type has no BINFO.

	* ipa-devirt.c (possible_polymorphic_call_targets): Return early
	if otr_type has no BINFO.

From-SVN: r218659
parent 0a6aa476
2014-12-12 Jan Hubicka <hubicka@ucw.cz>
* ipa-devirt.c (possible_polymorphic_call_targets): Return early
if otr_type has no BINFO.
2014-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com> 2014-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
PR rtl-optimization/63917 PR rtl-optimization/63917
...@@ -2239,7 +2239,7 @@ possible_polymorphic_call_targets (tree otr_type, ...@@ -2239,7 +2239,7 @@ possible_polymorphic_call_targets (tree otr_type,
/* If ODR is not initialized or the constext is invalid, return empty /* If ODR is not initialized or the constext is invalid, return empty
incomplete list. */ incomplete list. */
if (!odr_hash || context.invalid) if (!odr_hash || context.invalid || !TYPE_BINFO (otr_type))
{ {
if (completep) if (completep)
*completep = context.invalid; *completep = context.invalid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment