aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.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/cfgexpand.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/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 31832e7..6882954 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -2368,7 +2368,7 @@ expand_debug_expr (tree exp)
return op0;
op0 = gen_rtx_DEBUG_EXPR (mode);
- XTREE (op0, 0) = exp;
+ DEBUG_EXPR_TREE_DECL (op0) = exp;
SET_DECL_RTL (exp, op0);
return op0;