This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 83664, missing check on boundary argument for eoshift
- From: Janne Blomqvist <blomqvist dot janne at gmail dot com>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- 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: Wed, 3 Jan 2018 13:17:24 +0200
- Subject: Re: [patch, fortran] Fix PR 83664, missing check on boundary argument for eoshift
- Authentication-results: sourceware.org; auth=none
- References: <60e90697-4c0c-a7fe-65c4-f0ed483788bc@netcologne.de>
On Wed, Jan 3, 2018 at 1:13 PM, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hello world,
>
> the attached patch fixes a missing check for eoshift.
>
> If you're wondering what the "else" belongs to - it is
>
> if (boundary != NULL)
>
> Regression-tested. OK for trunk?
>
> Regards
>
> Thomas
>
> 2018-01-03 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/83664
> * check.c (gfc_check_eoshift): Error for missing boundary if array
> is not one of the standard types.
>
> 2018-01-03 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/83664
> * gfortran.dg/eoshift_7.f90: New test.
Ok for trunk, thanks!
--
Janne Blomqvist