aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-10-13 15:56:07 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2009-10-13 15:56:07 +0200
commite4fb38bd17c0df57ba0dde795cf31279e51e186c (patch)
treeee8539b8137186405c31fc7594e83afce4f4f338 /gcc/rtl.h
parentab6218f150a207398a27d1e8bbc0249ac8c03466 (diff)
downloadgcc-e4fb38bd17c0df57ba0dde795cf31279e51e186c.zip
gcc-e4fb38bd17c0df57ba0dde795cf31279e51e186c.tar.gz
gcc-e4fb38bd17c0df57ba0dde795cf31279e51e186c.tar.bz2
re PR target/41693 (RTL Check Failure in expand_debug_expr, at cfgexpand.c:2371)
PR target/41693 * rtl.h (DEBUG_EXPR_TREE_DECL): Define. * sched-vis.c (print_value): Use it. * cselib.c (cselib_hash_rtx): Likewise. * print-rtl.c (print_rtx): Likewise. * cfgexpand.c (expand_debug_rtx): Likewise. * var-tracking.c (vt_expand_loc_callback): Likewise. From-SVN: r152707
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index a7be009b..d5dbd1e 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -930,6 +930,9 @@ extern const char * const reg_note_name[];
#define NOTE_DURING_CALL_P(RTX) \
(RTL_FLAG_CHECK1("NOTE_VAR_LOCATION_DURING_CALL_P", (RTX), NOTE)->call)
+/* DEBUG_EXPR_DECL corresponding to a DEBUG_EXPR RTX. */
+#define DEBUG_EXPR_TREE_DECL(RTX) XCTREE (RTX, 0, DEBUG_EXPR)
+
/* Possible initialization status of a variable. When requested
by the user, this information is tracked and recorded in the DWARF
debug information, along with the variable's location. */