This is the mail archive of the gcc@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: [tree-ssa] Mainline merge as of 2003-02-02


On Mon, Feb 03, 2003 at 12:27:30PM -0500, Diego Novillo wrote:
> - The second type of warning comes from the expanders for
>   va_start.  In tree.c:build_stmt, we have
> 
> 		build_stmt VPARAMS ((enum tree_code code, ...))
> 		{
> 		  ...
> 		  VA_OPEN (p, code);
> 		  ...
> 		}
> 
> 		build_stmt (code)
> 		{
> 		  ...
> 		  code.162 = (unsigned int)code;
> 		  __builtin_va_start (p.161, code.162);
> 		  ...
> 		}
> 
>   The builtin expander issues the warning 'second parameter of
>   `va_start' not last named argument'.  Jason thinks that this
>   warning should be moved up into the front end.  I agree with
>   that.

Indeed, not only should the warning be handled by the front end,
but I expect that va_start itself should be expanded so that it
can be gimplified.



r~


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