This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Use void_list_node more in Fortran FE, don't make MAIN__ call varargs
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Tue, 17 Aug 2010 19:37:03 +0200
- Subject: Re: [PATCH] Use void_list_node more in Fortran FE, don't make MAIN__ call varargs
- References: <20100817172516.GI702@tyan-ft48-01.lab.bos.redhat.com> <4C6AC7AA.8020508@net-b.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Aug 17, 2010 at 07:32:26PM +0200, Tobias Burnus wrote:
> On 08/17/2010 07:25 PM, Jakub Jelinek wrote:
> >As discussed in the PR, this patch just makes MAIN__ call non-varargs (for
> >other calls more work is needed)
>
> Namely, one should generate the interface based on the usage of the
> call; that way one can also give better diagnostics. (Cf. PR and PR
> linked in the PR.)
That and also using void_list_node TYPE_ARG_TYPES if the procedure is known
to have zero arguments.
> >Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> OK. Thanks for the patch.
Thanks.
Jakub