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]

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


Sorry wrong list on the first try...

On Tue, 2004-04-06 at 22:17, Laurent GUERBY wrote:
> On Tue, 2004-04-06 at 22:05, Andrew Pinski wrote:
> > The only patch in that email (only) is what has not been applied yet.
> > 
> > 2003-07-02  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.
> > 
> 
> Ok I missed it :).
> 
> 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]