aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-11-26 22:16:56 +0000
committerRichard Henderson <rth@redhat.com>2001-11-26 22:16:56 +0000
commit1dbbf44d397c4c0d4d4f59296470cbbe50e5f653 (patch)
tree5b02599884dbf0f671195084adc0a4b2fe252cd2 /gcc/config/elfos.h
parent69c8857877bb900bc6dd711b757fcbca943f8fcf (diff)
* config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
for CONSTRUCTOR. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@47357 138bc75d-0d04-0410-961f-82ee72b054a4
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 e6b36a703d0..a5c7a710e31 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 \