[Bug rtl-optimization/51374] [avr] insn combine reorders volatile memory accesses

gjl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 13 16:00:00 GMT 2012


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

--- Comment #7 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-13 15:58:10 UTC ---
Created attachment 26316
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26316
pr51374.diff (tentative patch against 4.7)


    * combine.c (record_dead_and_set_regs_1): Update mem_last_set
    when reading from volatile memory or writing to mem via zero
    extract.



More information about the Gcc-bugs mailing list