This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 48174+45304: No varags if interface is known
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Tue, 22 Mar 2011 10:41:45 +0100
- Subject: Re: [Patch, Fortran] PR 48174+45304: No varags if interface is known
- References: <4D885C23.1070206@net-b.de>
Dear Tobias,
Why did Jakub's patch for PR45304 not fix this? He visited the fix in
your patch upon build_library_function_decl_1 and
gfc_get_intrinsic_lib_fndecl. Should
trans-decl.c(create_function_arglist) have received the same
treatment?
Otherwise it is OK for trunk.
Thanks for the patch.
Paul
On Tue, Mar 22, 2011 at 9:21 AM, Tobias Burnus <burnus@net-b.de> wrote:
> This patch makes sure that there is no vararg if the procedure interface is
> known. Before, for functions and subroutines without arguments, no
> void_list_node.
>
> (Related, separate and unfixed issue: For procedures without explicit
> interface, the interface should be deduced from the usage.)
>
> Build and regtested on x86-64-linux.
> OK for the trunk?
>
> Tobias
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
? ? ?? --Hitchhikers Guide to the Galaxy