Commit bfbdca0b by Andrew Pinski Committed by Andrew Pinski

darwin.c (darwin_encode_section_info): When the decl has a DECL_INITIAL, it is…

darwin.c (darwin_encode_section_info): When the decl has a DECL_INITIAL, it is only defined also when it is not a common.

2004-04-08  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.c (darwin_encode_section_info): When the decl has
        a DECL_INITIAL, it is only defined also when it is not a common.

From-SVN: r80511
parent df0785d6
2004-04-08 Andrew Pinski <pinskia@physics.uc.edu>
* config/darwin.c (darwin_encode_section_info): When the decl has
a DECL_INITIAL, it is only defined also when it is not a common.
2004-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (fold_builtin_isascii, fold_builtin_toascii): New.
......
......@@ -1004,7 +1004,7 @@ darwin_encode_section_info (tree decl, rtx rtl, int first ATTRIBUTE_UNUSED)
&& (!TREE_PUBLIC (decl) || (!DECL_ONE_ONLY (decl) && !DECL_WEAK (decl)))
&& ((TREE_STATIC (decl)
&& (!DECL_COMMON (decl) || !TREE_PUBLIC (decl)))
|| (DECL_INITIAL (decl)
|| (!DECL_COMMON (decl) && DECL_INITIAL (decl)
&& DECL_INITIAL (decl) != error_mark_node)))
defined = 1;
......
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