aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-11-06 23:47:08 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-11-06 23:47:08 -0800
commit0d3f10e591c7983e358faac8e25390e6ccbdfada (patch)
treefc3b553e5fc59573adbd8074eaf43e79c7d66da4 /gcc
parent4c259acf5ee5be1bdee14b9e45fc7f60aa4d2a49 (diff)
downloadgcc-0d3f10e591c7983e358faac8e25390e6ccbdfada.zip
gcc-0d3f10e591c7983e358faac8e25390e6ccbdfada.tar.gz
gcc-0d3f10e591c7983e358faac8e25390e6ccbdfada.tar.bz2
elf.h (DO_SELECT_SECTION): TREE_READONLY is not defined for a CONSTRUCTOR; don't check it.
* config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not defined for a CONSTRUCTOR; don't check it. From-SVN: r46820
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/elf.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9a2cc72..f2f2c5b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-06 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
+ defined for a CONSTRUCTOR; don't check it.
+
2001-11-06 Danny Smith <dannysmith@users.sourceforge.net>
* gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h
index ddb7818..4144c83 100644
--- a/gcc/config/alpha/elf.h
+++ b/gcc/config/alpha/elf.h
@@ -342,7 +342,6 @@ void FN () \
else if (TREE_CODE (DECL) == CONSTRUCTOR) \
{ \
if ((flag_pic && RELOC) \
- || ! TREE_READONLY (DECL) \
|| TREE_SIDE_EFFECTS (DECL) \
|| ! TREE_CONSTANT (DECL)) \
SECNUM = 2; \