arc.c (arc_loop_hazard): Don't convert the jump label rtx to an rtx_insn until we...
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 17 Dec 2015 10:53:43 +0000 (10:53 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 17 Dec 2015 10:53:43 +0000 (10:53 +0000)
commita30c5ca4c15956697b2c78460be0a34811a2106e
tree76a7e5538586cca43ef71c911ae0791a047501ab
parent38fc3edcb9397eb37ce98ceee210eac823e6a92c
arc.c (arc_loop_hazard): Don't convert the jump label rtx to an rtx_insn until we confirm it's not a...

2015-12-17  Andrew Burgess  <andrew.burgess@embecosm.com>
gcc:
        * config/arc/arc.c (arc_loop_hazard): Don't convert the jump label
        rtx to an rtx_insn until we confirm it's not a return rtx.
gcc/testsuite:
        * gcc.target/arc/loop-hazard-1.c: New file

From-SVN: r231752
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/loop-hazard-1.c [new file with mode: 0644]