OSDN Git Service

* rtl.h (INSN_ANNULLED_BRANCH_P): Only allow JUMP_INSN.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Aug 2011 18:49:49 +0000 (18:49 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Aug 2011 18:49:49 +0000 (18:49 +0000)
commit7e66a69e4c53db6e8c36e50b922cd104b35d7b2f
tree4e15d94c44bd213a7d4ff4743130d7878d558fb3
parent895d206312dea4e0ab292d5f08dd6d9c9b617bd6
    * rtl.h (INSN_ANNULLED_BRANCH_P): Only allow JUMP_INSN.
        * dwarf2cfi.c (scan_trace): Test JUMP_P before INSN_ANNULLED_BRANCH_P.
        * resource.c (next_insn_no_annul): Likewise.
        (mark_set_resources): Likewise.
        * reorg.c (delete_from_delay_slot): Likewise.
        (dbr_schedule, redundant_insn, try_merge_delay_insns): Likewise.
        (get_branch_condition): Test pc_rtx and LABEL_REF before dereferencing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177944 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2cfi.c
gcc/reorg.c
gcc/resource.c
gcc/rtl.h