OSDN Git Service

PR rtl-optimization/20756:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 May 2005 13:34:17 +0000 (13:34 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 May 2005 13:34:17 +0000 (13:34 +0000)
* basic-block.h (PROP_DEAD_INSN): Define.
* flow.c (propagate_one_insn): Set during mark_set_regs call
for a dead insn.
(mark_set_1): Emit a clobber when we are about to delete a dead insn
that kills a live register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99657 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/basic-block.h

index 4a71d25..5565053 100644 (file)
@@ -806,6 +806,8 @@ enum update_life_extent
 #define PROP_SCAN_DEAD_STORES  128     /* Scan for dead code.  */
 #define PROP_ASM_SCAN          256     /* Internal flag used within flow.c
                                           to flag analysis of asms.  */
 #define PROP_SCAN_DEAD_STORES  128     /* Scan for dead code.  */
 #define PROP_ASM_SCAN          256     /* Internal flag used within flow.c
                                           to flag analysis of asms.  */
+#define PROP_DEAD_INSN         1024    /* Internal flag used within flow.c
+                                          to flag analysis of dead insn.  */
 #define PROP_FINAL             (PROP_DEATH_NOTES | PROP_LOG_LINKS  \
                                 | PROP_REG_INFO | PROP_KILL_DEAD_CODE  \
                                 | PROP_SCAN_DEAD_CODE | PROP_AUTOINC \
 #define PROP_FINAL             (PROP_DEATH_NOTES | PROP_LOG_LINKS  \
                                 | PROP_REG_INFO | PROP_KILL_DEAD_CODE  \
                                 | PROP_SCAN_DEAD_CODE | PROP_AUTOINC \