diff options
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index 1852885..a979d6f 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -2468,8 +2468,8 @@ expand_debug_expr (tree exp) return op0; case TARGET_MEM_REF: - if (TMR_SYMBOL (exp) - && !DECL_RTL_SET_P (TREE_OPERAND (TMR_SYMBOL (exp), 0))) + if (TREE_CODE (TMR_BASE (exp)) == ADDR_EXPR + && !DECL_RTL_SET_P (TREE_OPERAND (TMR_BASE (exp), 0))) return NULL; op0 = expand_debug_expr |