aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-09-02 06:39:43 +0000
committerJeff Law <law@gcc.gnu.org>1999-09-02 00:39:43 -0600
commit6b7ef0e0be2e829202228599757ba97ad9187ff7 (patch)
tree68b427b024d4fe1c60f2990306aaa5f25de2319c /gcc/varasm.c
parentbc5afba452d4accc25fdd53739c58a14ed93c91e (diff)
downloadgcc-6b7ef0e0be2e829202228599757ba97ad9187ff7.zip
gcc-6b7ef0e0be2e829202228599757ba97ad9187ff7.tar.gz
gcc-6b7ef0e0be2e829202228599757ba97ad9187ff7.tar.bz2
varasm.c (mark_constant_pool): When marking indirect references, only look at SYMBOL_REFs.
* varasm.c (mark_constant_pool): When marking indirect references, only look at SYMBOL_REFs. From-SVN: r29049
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 7110a2e..0be810a 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -3758,8 +3758,8 @@ mark_constant_pool ()
if (!pool->mark)
continue;
- /* skip CONST_DOUBLEs too - correct? */
- if (GET_CODE (pool->constant) == CONST_DOUBLE)
+ /* Skip everything except SYMBOL_REFs. */
+ if (GET_CODE (pool->constant) != SYMBOL_REF)
continue;
label = XSTR (pool->constant, 0);