aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
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/print-rtl.c
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/print-rtl.c')
-rw-r--r--gcc/print-rtl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 5ba5e63..29d3ab9 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -321,7 +321,8 @@ print_rtx (const_rtx in_rtx)
else if (i == 0 && GET_CODE (in_rtx) == DEBUG_EXPR)
{
#ifndef GENERATOR_FILE
- fprintf (outfile, " D#%i", DEBUG_TEMP_UID (XTREE (in_rtx, 0)));
+ fprintf (outfile, " D#%i",
+ DEBUG_TEMP_UID (DEBUG_EXPR_TREE_DECL (in_rtx)));
#endif
}
break;