aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; \