This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] Fix PR 83664, missing check on boundary argument for eoshift


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]