This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: fortran/27662: Transpose doesn't work on function return
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Thu, 18 May 2006 23:44:14 -0700
- Subject: Re: PATCH: fortran/27662: Transpose doesn't work on function return
- References: <20060519053511.GA8775@lucon.org>
On Thu, May 18, 2006 at 10:35:11PM -0700, H. J. Lu wrote:
> We zere the first stride to indicate a temporary. But if the first
> stride of the temporary is used later, we will get the wrong result
> as in PR fortran/27662. Does anyone know why we do this? Do we have
> a testcase to show it is needed?
>
> This patch fixes PR fortran/27662. But I have no ideas if it is the
> correct fix.
>
Richard Sandiford wrote much of the optimizations that
are applied to transpose. I sent him an email earlier
today asking him if he had some spare time to look
at this PR.
--
Steve