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