varasm.c (mark_constant_pool): When marking indirect references, only look at SYMBOL_...
authorJeffrey A Law <law@cygnus.com>
Thu, 2 Sep 1999 06:39:43 +0000 (06:39 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 2 Sep 1999 06:39:43 +0000 (00:39 -0600)
        * varasm.c (mark_constant_pool): When marking indirect references,
        only look at SYMBOL_REFs.

From-SVN: r29049

gcc/ChangeLog
gcc/varasm.c

index 592af76844bbdcd4b9e929e878a3af2e345ea858..e8a69a682b7018915346217a90ec03ed0cc75046 100644 (file)
@@ -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.
 
index 7110a2e6f2a3fa5745bfe1be463a1465fd182d15..0be810aa2a9c31cedef5704051fcd5115e100520 100644 (file)
@@ -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);