]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/mode-switching.c
gcc:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Apr 2014 18:12:53 +0000 (18:12 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 11 Apr 2014 18:12:53 +0000 (18:12 +0000)
commit6d0a55966e04546344e54b88346718baffdf3120
tree905e1d1e868f4a9ffc9623f4e3fc998cb02a312a
parentc3779d1f1ff3217555a7735e962b5b8636ab785a
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209312 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/mode-switching.c
gcc/testsuite/ChangeLog