re PR rtl-optimization/51187 (miscompilation of genrecog.c at -O2 for --target=avr)
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 19 Nov 2011 20:36:43 +0000 (20:36 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 19 Nov 2011 20:36:43 +0000 (20:36 +0000)
commitb168ced90319bca53a0057dabf9786cc341c6c43
treeb23e607d783381144b9fc87ba70206d9b1111f68
parent2e85d5e290aadb0cd0c50ddfcd8ba4f58c2301e7
re PR rtl-optimization/51187 (miscompilation of genrecog.c at -O2 for --target=avr)

PR rtl-optimization/51187
* reorg.c (relax_delay_slots): Do not consider a jump useless if there
is a barrier between the jump and its target label.

From-SVN: r181513
gcc/ChangeLog
gcc/reorg.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/delay-slot-2.c [new file with mode: 0644]