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]

Re: ppc-eabi: interaction betwen section name attributes and -msdata


Fergus Henderson <fjh@cs.mu.oz.au> writes:

> 2000-07-07  Fergus Henderson  <fjh@cs.mu.oz.au>
> 
> 	* tree.h (struct tree_string): Document that length includes
> 	  trailing NUL.

Can you make the comment a full sentence?  As in,

/* Length in bytes; includes trailing NUL, if any.  */

Otherwise OK.

> Index: tree.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/tree.h,v
> retrieving revision 1.251
> diff -u -d -u -r1.251 tree.h
> --- tree.h	2001/06/29 17:21:12	1.251
> +++ tree.h	2001/07/07 06:19:32
> @@ -712,7 +712,7 @@
>    struct tree_common common;
>    struct rtx_def *rtl;	/* acts as link to register transfer language
>  				   (rtl) info */
> -  int length;
> +  int length; /* in bytes; includes trailing NUL, if any */
>    const char *pointer;
>  };

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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