re PR rtl-optimization/60651 (Mode switching instructions are sometimes emitted in...
authorJoern Rennecke <joern.rennecke@embecosm.com>
Fri, 11 Apr 2014 18:12:53 +0000 (18:12 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 11 Apr 2014 18:12:53 +0000 (19:12 +0100)
commit473fd99a4ca248ade8f6d648e4b688695055c1ee
tree905e1d1e868f4a9ffc9623f4e3fc998cb02a312a
parent6ace1161e62a9f09b36ef2dc0dacad97371e9dd0
re PR rtl-optimization/60651 (Mode switching instructions are sometimes emitted in the wrong order)

gcc:
        PR rtl-optimization/60651
        * mode-switching.c (optimize_mode_switching): Make sure to emit
        sets of a lower numbered entity before sets of a higher numbered
        entity to a mode of the same or lower priority.
        When creating a seginfo for a basic block that starts with a code
        label, move the insertion point past the code label.
        (new_seginfo): Document and enforce requirement that
        NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
        * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
        * doc/tm.texi: Regenerate.
gcc/testsuite:
        PR rtl-optimization/60651
        * gcc.target/epiphany/mode-switch.c: New test.

From-SVN: r209312
gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/mode-switching.c
gcc/testsuite/ChangeLog