This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/51374] [avr] insn combine reorders volatile memory accesses
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Feb 2012 11:35:37 +0000
- Subject: [Bug rtl-optimization/51374] [avr] insn combine reorders volatile memory accesses
- Auto-submitted: auto-generated
- References: <bug-51374-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51374
--- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-02-01 11:35:37 UTC ---
Author: gjl
Date: Wed Feb 1 11:35:34 2012
New Revision: 183796
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183796
Log:
gcc/
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/
PR rtl-optimization/51374
* testsuite/gcc.target/avr/torture/pr51374-1.c: New.
Added:
trunk/gcc/testsuite/gcc.target/avr/torture/pr51374-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog