This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix handling of arguments in statement functions
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: "Dominique d'Humières" <dominiq at tournesol dot lps dot ens dot fr>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 11 Feb 2018 08:34:05 -0800
- Subject: Re: [PATCH] Fix handling of arguments in statement functions
- Authentication-results: sourceware.org; auth=none
- References: <85F24B5F-5D2C-41AA-BABB-8DCD3C10B25E@lps.ens.fr>
- Reply-to: sgk at troutmask dot apl dot washington dot edu
On Sun, Feb 11, 2018 at 01:48:10PM +0100, Dominique d'Humières wrote:
> Hi Steve,
>
> With your patch applied to revision r257559, I get the following failures
>
> /opt/gcc/p_work/gcc/testsuite/gfortran.dg/statement_function_3.f:5:72: Warning: Obsolescent feature: Statement function at (1)
> /opt/gcc/p_work/gcc/testsuite/gfortran.dg/statement_function_3.f:3:24: Error: Argument 'e' of statement function at (1) must be scalar
> compiler exited with status 1
> FAIL: gfortran.dg/statement_function_3.f -O (test for errors, line 5)
> FAIL: gfortran.dg/statement_function_3.f -O (test for excess errors)
>
I may have posted the wrong patch or forgot to include the
diff of the file that deals with this error.
--
Steve