(decode_addr_const, output_constant_def): Allow INTEGER_CST.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 24 Jul 1996 03:10:32 +0000 (23:10 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 24 Jul 1996 03:10:32 +0000 (23:10 -0400)
From-SVN: r12557

gcc/varasm.c

index 67a31ca998cf13b032684cdc0255cd886a48edca..a2a17a989c19efa9de389d48992c35a38d668b61 100644 (file)
@@ -2284,6 +2284,7 @@ decode_addr_const (exp, value)
     case STRING_CST:
     case COMPLEX_CST:
     case CONSTRUCTOR:
+    case INTEGER_CST:
       x = TREE_CST_RTL (target);
       break;
 
@@ -2846,9 +2847,6 @@ output_constant_def (exp)
   int reloc;
   register rtx def;
 
-  if (TREE_CODE (exp) == INTEGER_CST)
-    abort ();                  /* No TREE_CST_RTL slot in these.  */
-
   if (TREE_CST_RTL (exp))
     return TREE_CST_RTL (exp);