https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63671

--- Comment #16 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
The ICE will probably go away with
Index: ipa-prop.c
===================================================================
--- ipa-prop.c  (revision 217980)
+++ ipa-prop.c  (working copy)
@@ -2155,7 +2155,7 @@ ipa_analyze_call_uses (struct func_body_
   if (cs && !cs->indirect_unknown_callee)
     return;

-  if (cs->indirect_info->polymorphic)
+  if (cs->indirect_info->polymorphic && flag_devirtualize)
     {
       tree instance;
       tree target = gimple_call_fn (call);

I am at a workshop; the patch is preapproved if it passes testing.

Reply via email to