This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR69498 ICE on unexpected Submodule
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Nicolas Koenig <koenigni at student dot ethz dot ch>
- Cc: GCC-Fortran-ML <fortran at gcc dot gnu dot org>, GCC-Patches-ML <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 10 Apr 2017 19:07:20 +0100
- Subject: Re: [Patch, fortran] PR69498 ICE on unexpected Submodule
- Authentication-results: sourceware.org; auth=none
- References: <cd6e76e2-bf3a-35e3-3bc7-b6c4b60bd04c@student.ethz.ch>
Dear Nicolas,
The reasons are (i) moving country and (ii) the daytime job :-)
I think that in the circumstances somebody else should OK the patch,
although I think that it is perfect in every way possible.
Actually, perhaps it is sufficiently obvious that I would and should
have committed it - OK for trunk.
Thanks
Paul
On 10 April 2017 at 17:53, Nicolas Koenig <koenigni@student.ethz.ch> wrote:
> Hello everyone,
>
> Dominique send me this patch written by Paul some time ago. For some reason
> it was never committed, so here we go :)
>
> Ok for trunk?
>
> Nicolas
>
> Regression tested for x86_64-pc-linux-gnu.
>
> Changelog:
> 2017-03-18 Nicolas Koenig <koenigni@student.ethz.ch>
> PR fortran/69498
> * module.c (gfc_match_submodule): Add error
> if function is called in the wrong state.
>
> 2017-03-18 Nicolas Koenig <koenigni@student.ethz.ch>
> PR fortran/69498
> * gfortran.dg/submodule_unexp.f90: Modified test
> to account for new error.
>
>
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein