aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-11-26 14:16:56 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-11-26 14:16:56 -0800
commitc70ebb687c8bf3e98c88bf0b07447248d4afae71 (patch)
tree5b02599884dbf0f671195084adc0a4b2fe252cd2 /gcc/config/elfos.h
parentfa9b5c6be7d76d589878994f6affb15b73739dda (diff)
downloadgcc-c70ebb687c8bf3e98c88bf0b07447248d4afae71.zip
gcc-c70ebb687c8bf3e98c88bf0b07447248d4afae71.tar.gz
gcc-c70ebb687c8bf3e98c88bf0b07447248d4afae71.tar.bz2
elfos.h (SELECT_SECTION): Don't check TREE_READONLY for CONSTRUCTOR.
* config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY for CONSTRUCTOR. From-SVN: r47357
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r--gcc/config/elfos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index e6b36a7..a5c7a71 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -387,7 +387,7 @@ const_section () \
else if (TREE_CODE (DECL) == CONSTRUCTOR) \
{ \
if ((flag_pic && RELOC) \
- || !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
+ || TREE_SIDE_EFFECTS (DECL) \
|| ! TREE_CONSTANT (DECL)) \
data_section (); \
else \