[patch, Fortran] Fix PR 66041
Thomas Koenig
tkoenig@netcologne.de
Sun May 10 18:40:00 GMT 2015
Hi Mikael,
thanks for the review.
Here is what I committed.
Regards
Thomas
2015-05-10 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66041
* frontend-passes.c (scalarized_expr): Set correct dimension and
shape for the expression to be passed to lbound. Remove trailing
references after array refrence.
(inline_matmul_assign): Remove gfc_copy_expr from calls
to scalarized_expr().
2015-05-10 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66041
* gfortran.dg/inline_matmul_7.f90: New test.
* gfortran.dg/inline_matmul_8.f90: New test.
* gfortran.dg/inline_matmul_9.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p6.diff
Type: text/x-patch
Size: 3708 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150510/2b2f78b8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline_matmul_7.f90
Type: text/x-fortran
Size: 997 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150510/2b2f78b8/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline_matmul_8.f90
Type: text/x-fortran
Size: 544 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150510/2b2f78b8/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline_matmul_9.f90
Type: text/x-fortran
Size: 710 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150510/2b2f78b8/attachment-0003.bin>
More information about the Fortran
mailing list