[Bug ipa/60026] [4.8/4.9 Regression] ICE at -O3 on valid code (with the optimize pragma) on x86_64-linux-gnu
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 3 18:25:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60026
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #6)
> Not so easily, the problem is that copy_forbidden is called without fun
> being actually cfun, and set_cfun is very expensive.
I think we can do the test without setting cfun by something similar
to ipa_func_spec_opts_forbid_analysis_p in ipa-prop.c.
> Do we ever call
> copy_forbidden on functions that haven't been rewritten into SSA form yet?
> If yes, it could be even set e.g. during gimplification (if (!optimize)).
No, I don't think so. It's really a matter of cleanness and a fairly
minor point at that.
More information about the Gcc-bugs
mailing list