aboutsummaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
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 c26742d..2bf4662 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: