ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an INSN_P before checking to see...
authorJose Renau <renau@cs.uiuc.edu>
Thu, 26 Dec 2002 18:15:56 +0000 (18:15 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 26 Dec 2002 18:15:56 +0000 (11:15 -0700)
commitecd4a73b20577345fc2703e7e998b30b68bf75d6
tree9a794edf33f5d0d6572f70b05a106554945370ab
parentb17bb466ac97a3a26568856d8cc2ea5482c92229
ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an INSN_P before checking to see if it is dead.

       * ssa-dce.c (EXECUTE_IF_UNNECESSARY): Verify INSN is an
        INSN_P before checking to see if it is dead.
        (mark_all_insn_unnecessary): Similarly.
        (ssa_eliminate_dead_code): Similarly.
        * rtl.h (struct rtx_def): Update comments for in_struct usage
        in dead code elimination pass.
        (INSN_DEAD_CODE_P): Allow JUMP_INSN and CALL_INSN as well.

From-SVN: r60520
gcc/ChangeLog
gcc/rtl.h
gcc/ssa-dce.c