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 45744


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


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