Commit cf1fcb76 by Jan Hubicka Committed by Jan Hubicka

re PR lto/69630 (LTO ICE in types_same_for_odr at ipa-devirt.c:402)

	PR ipa/69630
	* ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
	on builtin_unreachable.

From-SVN: r233711
parent c049b107
2016-02-25 Jan Hubicka <hubicka@ucw.cz>
PR ipa/69630
* ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
on builtin_unreachable.
2016-02-25 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/69896
......
......@@ -3181,6 +3181,7 @@ possible_polymorphic_call_targets (tree otr_type,
{
if (complete
&& nodes.length () == 1
&& TREE_CODE (TREE_TYPE (nodes[0]->decl)) == METHOD_TYPE
&& warn_suggest_final_types
&& !outer_type->derived_types.length ())
{
......
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