summaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c
index aee4ea973fd..7d78061f593 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -3170,8 +3170,6 @@ output_addr_const (FILE *file, rtx x)
break;
case SYMBOL_REF:
- if (SYMBOL_REF_DECL (x))
- mark_decl_referenced (SYMBOL_REF_DECL (x));
#ifdef ASM_OUTPUT_SYMBOL_REF
ASM_OUTPUT_SYMBOL_REF (file, x);
#else