[Bug ipa/63671] [5 Regression] 21% tramp3d-v4 performance hit due to -fdevirtualize
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 24 17:30:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list