ssa-dce.c (note_inherently_necessary_set): New function.
authorJeffrey A Law <law@cygnus.com>
Fri, 29 Jun 2001 18:26:21 +0000 (18:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 29 Jun 2001 18:26:21 +0000 (12:26 -0600)
commit8f2f6da110c5233aa7bde22e86df7d23a175b05d
tree62757173f7b39dc6b316870b1d2183bba39fce73
parent8d8e52be8aeb3b679baac38d41cbc07448a44ac7
ssa-dce.c (note_inherently_necessary_set): New function.

        * ssa-dce.c (note_inherently_necessary_set): New function.
        (find_inherently_necessary): Use it.  Do not consider
        NOTEs, CODE_LABELs or BARRIERS are necessary.  Improve
        handling of asms and unspecs.
        (delete_insn_bb): Only delete INSNs, CALL_INSNs or JUMP_INSNs.

From-SVN: r43656
gcc/ChangeLog
gcc/ssa-dce.c