This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 85387
- From: Andre Vehreschild <vehre at gmx dot de>
- To: Thomas König <tk at tkoenig dot net>
- 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, 14 Apr 2018 15:22:29 +0200
- Subject: Re: [patch, fortran] Fix PR 85387
- References: <7b66107b-4f8f-a361-7f88-915b147e2d4f@tkoenig.net>
Hi Thomas,
this looks good. Ok for trunk. Thanks for the patch.
- Andre
On Sat, 14 Apr 2018 13:35:37 +0200
Thomas König <tk@tkoenig.net> wrote:
> Hello world,
>
> the attached patch fixes the PR, an 8 regression caused by
> trying to convert a nested implied DO loop to an array
> for a case where this was not possible.
>
> Regression-tested. OK for trunk?
>
> Regards
>
> Thomas
>
> 2018-04-14 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/85387
> * frontend-passes.c (traverse_io_block): Check for start, end or
> stride being defined by an outer implied DO loop.
>
> 2018-04-14 Thomas Koenig <tkoenig@gcc.gnu.org>
>
> PR fortran/85387
> * gfortran.dg/implied_do_io_5.f90: New test.
--
Andre Vehreschild * Email: vehre ad gmx dot de