diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-08 17:16:34 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-08 17:16:34 +0000 |
commit | 2f4fae9201d7b56b982723dfb5801f3e90428833 (patch) | |
tree | 4fe37f2b72567501dc0eb8e43c2cca8f9fcd74e8 /gcc/config/darwin.c | |
parent | d49367d4925de0cd346002f7ca00dacd05d5fe3c (diff) | |
download | gcc-2f4fae9201d7b56b982723dfb5801f3e90428833.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80511 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index f6e29b8c96a..fd4ff3234ee 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -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; |