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/64601] Missed PRE on std::vector move assignment


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
It's indeed that GCC only sees int accesses based on w and v and thus has to
consider they might alias.

Maybe it's time to try that "trick" with the same clobbering value...

TBAA cannot be strengthened easily here because the stores change the
dynamic type of the memory.


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