aboutsummaryrefslogtreecommitdiff
path: root/gcc/df.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2012-08-02 00:34:11 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2012-08-02 00:34:11 +0000
commit08df6c0db1dbdeda1e22b16eb83c77ad05f8ba32 (patch)
treee8586f90b0101adcc1ada9b7625fd4d25cb71a67 /gcc/df.h
parent57e8ecc3bacd6f3794c535eafc3114b56b40321b (diff)
downloadgcc-08df6c0db1dbdeda1e22b16eb83c77ad05f8ba32.zip
gcc-08df6c0db1dbdeda1e22b16eb83c77ad05f8ba32.tar.gz
gcc-08df6c0db1dbdeda1e22b16eb83c77ad05f8ba32.tar.bz2
re PR debug/52983 (internal compiler error: in df_uses_record, at df-scan.c:3243)
PR debug/52983 * valtrack.h, valtrack.c: New. * Makefile.in (VALTRACK_H): New. (OBJS): Add valtrack.o. (valtrack.o): New. (cselib.o, dce.o, df-problems.o, combine.o): Add VALTRACK_H. * combine.c: Include valtrack.h. (make_compound_operation): Publish. (cleanup_auto_inc_dec): Move to valtrack.c. (struct rtx_subst_pair, propagate_for_debug_subst): Likewise. (propagate_for_debug): Likewise. Add this_basic_block parameter. Adjust all callers. * cselib.c: Include valtrack.h. * dce.c: Likewise. * df-problems.c: Likewise. (dead_debug_init, dead_debug_reset_uses): Move to valtrack.c. (dead_debug_finish, dead_debug_add): Likewise. (dead_debug_insert_temp): Likewise. * df.h (struct dead_debug_use): Move to valtrack.h. (struct dead_debug, enum debug_temp_where): Likewise. (dead_debug_init, dead_debug_reset_uses): Move to valtrack.h. (dead_debug_finish, dead_debug_add): Likewise. (dead_debug_insert_temp): Likewise. * rtl.h (make_compound_operation): Declare. From-SVN: r190061
Diffstat (limited to 'gcc/df.h')
-rw-r--r--gcc/df.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/gcc/df.h b/gcc/df.h
index 1b4882d..e59ae12 100644
--- a/gcc/df.h
+++ b/gcc/df.h
@@ -1101,46 +1101,4 @@ extern void union_defs (df_ref, struct web_entry *,
unsigned int *used, struct web_entry *,
bool (*fun) (struct web_entry *, struct web_entry *));
-/* Debug uses of dead regs. */
-
-/* Node of a linked list of uses of dead REGs in debug insns. */
-struct dead_debug_use
-{
- df_ref use;
- struct dead_debug_use *next;
-};
-
-/* Linked list of the above, with a bitmap of the REGs in the
- list. */
-struct dead_debug
-{
- struct dead_debug_use *head;
- bitmap used;
- bitmap to_rescan;
-};
-
-/* This type controls the behavior of dead_debug_insert_temp WRT
- UREGNO and INSN. */
-enum debug_temp_where
- {
- /* Bind a newly-created debug temporary to a REG for UREGNO, and
- insert the debug insn before INSN. REG is expected to die at
- INSN. */
- DEBUG_TEMP_BEFORE_WITH_REG = -1,
- /* Bind a newly-created debug temporary to the value INSN stores
- in REG, and insert the debug insn before INSN. */
- DEBUG_TEMP_BEFORE_WITH_VALUE = 0,
- /* 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
- };
-
-extern void dead_debug_init (struct dead_debug *, bitmap);
-extern void dead_debug_finish (struct dead_debug *, bitmap);
-extern void dead_debug_add (struct dead_debug *, df_ref, unsigned int);
-extern int dead_debug_insert_temp (struct dead_debug *,
- unsigned int uregno, rtx insn,
- enum debug_temp_where);
-
#endif /* GCC_DF_H */