mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-18 08:34:07 +08:00
(decode_addr_const, output_constant_def): Allow INTEGER_CST.
From-SVN: r12557
This commit is contained in:
parent
8e15f7367b
commit
2cf55b5554
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user