diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-26 22:16:56 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-26 22:16:56 +0000 |
commit | d85111ef0e6db142ed597d2cd588c783b6444193 (patch) | |
tree | 5b02599884dbf0f671195084adc0a4b2fe252cd2 /gcc/config/elfos.h | |
parent | 3047993b3cec4f7771f317aaf56b2b8e639c978e (diff) | |
download | gcc-d85111ef0e6db142ed597d2cd588c783b6444193.tar.gz |
* config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
for CONSTRUCTOR.
git-svn-id: svn+ssh://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.h | 2 |
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 \ |