This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Fix PR 45744
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 23 Sep 2010 12:29:44 -0700
- Subject: Re: [patch, fortran] Fix PR 45744
- References: <1285269333.6942.3.camel@linux-fd1f.site>
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