aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@cambridge.redhat.com>2002-02-06 09:08:19 +0000
committerNick Clifton <nickc@gcc.gnu.org>2002-02-06 09:08:19 +0000
commitd3a8b6a672bc5a693331f98d2a3c01e84eb1d786 (patch)
tree7a26182e7953e7250a389bff97bf7ec9975d4482 /gcc/dbxout.c
parentf5ee37f2cedda8160d79a3ab2d0cde7bdb7bb6c6 (diff)
downloadgcc-d3a8b6a672bc5a693331f98d2a3c01e84eb1d786.zip
gcc-d3a8b6a672bc5a693331f98d2a3c01e84eb1d786.tar.gz
gcc-d3a8b6a672bc5a693331f98d2a3c01e84eb1d786.tar.bz2
Accept LABEL_REFs as well as SYMBOL_REFs from the constant pool.
From-SVN: r49542
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index b449e13..2db1f3a 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -2198,7 +2198,8 @@ dbxout_symbol_location (decl, type, suffix, home)
{
rtx tmp = get_pool_constant (current_sym_addr);
- if (GET_CODE (tmp) == SYMBOL_REF)
+ if (GET_CODE (tmp) == SYMBOL_REF
+ || GET_CODE (tmp) == LABEL_REF)
current_sym_addr = tmp;
}