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

--- Comment #17 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Jan Hubicka from comment #16)
> 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.

The patch doesn't help unfortunately. I've opened PR64059 for this issue.

Reply via email to