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/51374] [avr] insn combine reorders volatile memory accesses


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

--- Comment #10 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-02-01 12:40:26 UTC ---
Author: gjl
Date: Wed Feb  1 12:40:23 2012
New Revision: 183797

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183797
Log:
gcc/
    Backport from mainline r183796
    PR rtl-optimization/51374
    * combine.c (can_combine_p): Don't allow volatile_refs_p insns
    to cross other volatile_refs_p insns.

gcc/testsuite/
    Backport from mainline r183796
    PR rtl-optimization/51374
    * testsuite/gcc.target/avr/torture/pr51374-1.c: New.


Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.target/avr/torture/pr51374-1.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/combine.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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