From 6b7ef0e0be2e829202228599757ba97ad9187ff7 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Thu, 2 Sep 1999 06:39:43 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/varasm.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 592af76844b..e8a69a682b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com) + * varasm.c (mark_constant_pool): When marking indirect references, + only look at SYMBOL_REFs. + * except.c (expand_fixup_region_end): Do not peek at INSN_UID (node->entry->outer_context) for flag_new_exceptions. diff --git a/gcc/varasm.c b/gcc/varasm.c index 7110a2e6f2a..0be810aa2a9 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); -- 2.30.2