mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 13:01:06 +08:00
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
This commit is contained in:
parent
df0785d62c
commit
bfbdca0bf1
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user