This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Mainline merge as of 2003-02-02
- From: Richard Henderson <rth at redhat dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 5 Feb 2003 18:23:10 -0800
- Subject: Re: [tree-ssa] Mainline merge as of 2003-02-02
- References: <20030203172730.GA32633@tornado.toronto.redhat.com>
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~