Commit 1ff5cbcd by Jim Wilson

(SELECT_SECTION): Apply constant DECL_INITIAL test only to DECLs.

From-SVN: r9267
parent 17ca38a2
...@@ -1956,7 +1956,8 @@ toc_section () \ ...@@ -1956,7 +1956,8 @@ toc_section () \
{ \ { \
if ((TREE_CODE (EXP) == STRING_CST \ if ((TREE_CODE (EXP) == STRING_CST \
&& !flag_writable_strings) \ && !flag_writable_strings) \
|| (TREE_READONLY (EXP) && ! TREE_THIS_VOLATILE (EXP) \ || (TREE_CODE_CLASS (EXP) == 'd' \
&& TREE_READONLY (EXP) && ! TREE_THIS_VOLATILE (EXP) \
&& DECL_INITIAL (EXP) \ && DECL_INITIAL (EXP) \
&& (DECL_INITIAL (EXP) == error_mark_node \ && (DECL_INITIAL (EXP) == error_mark_node \
|| TREE_CONSTANT (DECL_INITIAL (EXP))) \ || TREE_CONSTANT (DECL_INITIAL (EXP))) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment