re PR rtl-optimization/51374 ([avr] insn combine reorders volatile memory accesses)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 1 Feb 2012 11:35:34 +0000 (11:35 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 1 Feb 2012 11:35:34 +0000 (11:35 +0000)
commit07ad5438a12e26c3d361462ea5e3e3163b2928e0
tree157006ab69f61f15564411baac61ae0b1b51e9d3
parent76a3962fe967dfde16d1b16460149d42680651b0
re PR rtl-optimization/51374 ([avr] insn combine reorders volatile memory accesses)

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.

From-SVN: r183796
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/torture/pr51374-1.c [new file with mode: 0644]