[patch, fortran] Fix PR 36341, compile-time part
Thomas Koenig
tkoenig@netcologne.de
Sat Jun 28 22:16:00 GMT 2008
Hello world,
this fixes the compile-time part of PR 36341, where the shape of matmul
wasn't calculated from its arguments if these were known.
Dominique reported a Heisenbug found during testing in the PR, which may
or may not have I can't really think what may have caused this, but I'd
like to get a bit more feedback before committing.
Regression-tested on i686-pc-linux-gnu, without any more regressions
than those in PR 36458 and PR 36534, which are unrelated.
OK for trunk?
Thomas
2008-06-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36341
* iresolve.c (gfc_resolve_matmul): Copy shapes
from arguments.
2008-06-29 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/36341
* gfortran.dg/matmul_bounds_1.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36341-2.diff
Type: text/x-patch
Size: 1009 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080628/2237fd02/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxloc_bounds_1.f90
Type: text/x-fortran
Size: 495 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080628/2237fd02/attachment-0001.bin>
More information about the Fortran
mailing list