projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669054c
)
(ENCODE_SECTION_INFO): Use DECL_RTL for DECLs.
author
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 28 Oct 1993 22:43:31 +0000
(18:43 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Thu, 28 Oct 1993 22:43:31 +0000
(18:43 -0400)
From-SVN: r5925
gcc/config/arm/arm.h
patch
|
blob
|
history
diff --git
a/gcc/config/arm/arm.h
b/gcc/config/arm/arm.h
index 82556246569698c62a248205d2d1920c2ac12723..63077c49d6a660ce4aec6199fca4147c90982c3c 100644
(file)
--- a/
gcc/config/arm/arm.h
+++ b/
gcc/config/arm/arm.h
@@
-921,7
+921,11
@@
enum reg_class
{ \
if (TREE_CONSTANT (decl) \
&& (!flag_writable_strings || TREE_CODE (decl) != STRING_CST)) \
- SYMBOL_REF_FLAG (XEXP (TREE_CST_RTL (decl), 0)) = 1; \
+ { \
+ rtx rtl = (TREE_CODE_CLASS (TREE_CODE (decl)) != 'd' \
+ ? TREE_CST_RTL (decl) : DECL_RTL (decl)); \
+ SYMBOL_REF_FLAG (XEXP (rtl, 0)) = 1; \
+ } \
}
/* The macros REG_OK_FOR..._P assume that the arg is a REG rtx