diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-10-30 09:08:01 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-10-30 09:08:01 +0100 |
commit | 85d874975afa49098a9119c9fe61d104c2d50d1c (patch) | |
tree | f8f26e88fe761dcc00566b4a2b95688abb002871 /gcc/valtrack.h | |
parent | d863d14312412121fc138f607258e7a86e72a7a8 (diff) | |
download | gcc-85d874975afa49098a9119c9fe61d104c2d50d1c.zip gcc-85d874975afa49098a9119c9fe61d104c2d50d1c.tar.gz gcc-85d874975afa49098a9119c9fe61d104c2d50d1c.tar.bz2 |
re PR debug/54953 (New sra-1.c FAILs on powerpc)
PR debug/54953
* valtrack.h (DEBUG_TEMP_AFTER_WITH_REG_FORCE): New.
* valtrack.c (dead_debug_insert_temp): Use emit_debug_insn_after
even for where == DEBUG_TEMP_AFTER_WITH_REG_FORCE.
* dce.c (word_dce_process_block, dce_process_block): Pass
DEBUG_TEMP_AFTER_WITH_REG_FORCE if insn is needed and therefore
not going to be eliminated.
From-SVN: r192978
Diffstat (limited to 'gcc/valtrack.h')
-rw-r--r-- | gcc/valtrack.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/valtrack.h b/gcc/valtrack.h index 44f2d21..a925e27 100644 --- a/gcc/valtrack.h +++ b/gcc/valtrack.h @@ -131,7 +131,12 @@ enum debug_temp_where /* Bind a newly-created debug temporary to a REG for UREGNO, and insert the debug insn after INSN. REG is expected to be set at INSN. */ - DEBUG_TEMP_AFTER_WITH_REG = 1 + DEBUG_TEMP_AFTER_WITH_REG = 1, + /* Like DEBUG_TEMP_AFTER_WITH_REG, but force addition of a debug + temporary even if there is just a single debug use. This is used + on regs that are becoming REG_DEAD on INSN and so uses of the + reg later on are invalid. */ + DEBUG_TEMP_AFTER_WITH_REG_FORCE = 2 }; extern void dead_debug_global_init (struct dead_debug_global *, bitmap); |