summaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-13 13:56:07 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2009-10-13 13:56:07 +0000
commit23dd51cb5d164f15ff2ed573e81ac3ffe34c00eb (patch)
treeee8539b8137186405c31fc7594e83afce4f4f338 /gcc/cselib.c
parentb7f7149b6ff201820895b436d2e3f2edfc27cb7e (diff)
downloadlinaro-gcc-23dd51cb5d164f15ff2ed573e81ac3ffe34c00eb.tar.gz
linaro-gcc-23dd51cb5d164f15ff2ed573e81ac3ffe34c00eb.tar.bz2
linaro-gcc-23dd51cb5d164f15ff2ed573e81ac3ffe34c00eb.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152707 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r--gcc/cselib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c
index c26742ddf1a..2bf466258f3 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -705,7 +705,8 @@ cselib_hash_rtx (rtx x, int create)
return e->value;
case DEBUG_EXPR:
- hash += ((unsigned) DEBUG_EXPR << 7) + DEBUG_TEMP_UID (XTREE (x, 0));
+ hash += ((unsigned) DEBUG_EXPR << 7)
+ + DEBUG_TEMP_UID (DEBUG_EXPR_TREE_DECL (x));
return hash ? hash : (unsigned int) DEBUG_EXPR;
case CONST_INT: