This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/53787] Possible IPA-SRA / IPA-CP improvement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53787

--- Comment #10 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-07-27 09:34:41 UTC ---
(In reply to comment #9)
> Shouldn't IPA-CP be able to do this already? It does appear to handle
> CONST_DECLs already...

Only if it finds them in the call statement itself, it relies on early
constant propagation to get the constants there.  But (AFAIK) nothing
propagates (even scalar) constants through non-gimple-registers and n
is not a register because it has its address taken.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]