This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR68534 - No error on mismatch in number of arguments between submodule and module interface
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 28 Nov 2015 08:19:40 -0800
- Subject: Re: [Patch, fortran] PR68534 - No error on mismatch in number of arguments between submodule and module interface
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGiJOT-0-PuPJa+Sk_Wm61MT1hrjNpP=tBztpy1KBV2yO=g at mail dot gmail dot com>
On Sat, Nov 28, 2015 at 11:35:54AM +0100, Paul Richard Thomas wrote:
> +
> + /* Abreviated module procedure declaration is not meant to have any
s/Abreviated/Abbreviated
> + formal arguments! */
> + if (!sym->abr_modproc_decl && formal && !head)
> + arg_count_mismatch = true;
> +
OK to commit.
--
Steve