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 rtl-optimization/63483] Scheduler performs Invalid move of aliased memory reference


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.

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