This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] darwin (resubmitted from 2003-07-02)


I don't have authority, but it looks good to me.

On Apr 6, 2004, at 1:25 PM, Laurent GUERBY wrote:
Could someone approve the patch? I've no darwin machine at home
unfortunately.

Laurent

Index: darwin.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/darwin.c,v
retrieving revision 1.38
diff -u -p -r1.38 darwin.c
--- darwin.c	7 Jun 2003 17:11:38 -0000	1.38
+++ darwin.c	2 Jul 2003 06:17:51 -0000
@@ -997,7 +997,7 @@ darwin_encode_section_info (decl, rtl, f
       && !DECL_EXTERNAL (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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]