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
This commit is contained in:
Richard Henderson 2001-11-06 23:47:08 -08:00 committed by Richard Henderson
parent 4c259acf5e
commit 0d3f10e591
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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; \