From 2cf55b555477592869c388a1404e98dd28fe81dc Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 23 Jul 1996 23:10:32 -0400 Subject: [PATCH] (decode_addr_const, output_constant_def): Allow INTEGER_CST. From-SVN: r12557 --- gcc/varasm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/varasm.c b/gcc/varasm.c index 67a31ca998c..a2a17a989c1 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -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); -- 2.30.2