[Bug rtl-optimization/63483] Scheduler performs Invalid move of aliased memory reference

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 8 08:40:00 GMT 2014


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

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 33665
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33665&action=edit
Proposed patch

Proposed patch prevents MEM_READONLY_P memory references to be moved over
possibly aliased memory (with alignment ANDs). The patch prevents early exit
for MEM_READONLY_P references when alignemt ANDs are involved. The aliasing is
determined in the code later in the function.


More information about the Gcc-bugs mailing list