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/66003] missed cse opportunity in addr expressions because of tree pre/lim


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

--- Comment #2 from amker at gcc dot gnu.org ---
(In reply to Richard Biener from comment #1)
> Hmm, I think IVOPTs should be able to undo this code motion?

It can't.  Address of all pointer dereferences except the first one are not
even induction variables.  The base address is loaded from memory by the first
dereference.


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