[Patch, fortran] PR28005 - gfortran: matmul produces wrong result

Janne Blomqvist jblomqvi@cc.hut.fi
Sat Jun 24 21:22:00 GMT 2006


On Fri, Jun 23, 2006 at 06:03:06AM +0200, Paul Thomas wrote:
> FX Coudert wrote:
> 
> >2006-06-14  Paul Thomas  <pault@gcc.gnu.org>
> >
> >>
> >>    PR fortran/28005
> >>    * gfortran.dg/matmul_3.f90: New test.
> >
> >
> >OK.
> 
> This patch did not apply to 4.1 at all.   The  computational core has 
> diverged totally.  Since this PR wasa numerical error on good code, I 
> suggest that we should do something about it.  Would there be any 
> objection if I copied trunk's matmul into 4.1's?

The 4.1 compiler can IIRC still generate code that sets stride=0. The
check and correction for this was removed from trunk, so perhaps you
should take care of including these again if you want to backport to
4.1.

-- 
Janne Blomqvist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060624/d3c680e9/attachment.sig>


More information about the Gcc-patches mailing list