[patch, fortran] Fix PR 45744

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Sep 24 01:33:00 GMT 2010


On Thu, Sep 23, 2010 at 09:15:33PM +0200, Thomas Koenig wrote:
> Hello world,
> 
> this patch fixes a regression introduced by my recent re-use of the lhs
> of an array assignment for temporary storage.
> 
> Regression-tested.  OK for trunk?
> 
> 	Thomas
> 
> 2010-09-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
> 
> 	PR fortran/45744
> 	* frontend-passes.c (optimize_binop_array_assignment):
> 	Only re-use lhs as intermediate storage if kind and type
> 	parameters match.
> 
> 2010-09-23  Thomas Koenig  <tkoenig@gcc.gnu.org>
> 
> 	PR fortran/45744
> 	* gfortran.dg/dependency_36.f90:  New test.
> 

OK.

-- 
Steve



More information about the Fortran mailing list