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 85387


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 


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