[patch, fortran] Fix PR 66111
Thomas Koenig
tkoenig@netcologne.de
Tue May 12 20:07:00 GMT 2015
Hello world,
this patch fixes a regression from the inline matmul patch by
not inlining a case that is not yet handled, namely vector
subscripts.
Regression-tested. OK for trunk?
Regards
Thomas
2015-05-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66111
* frontend-passes.c (has_dimen_vector_ref): New function.
(inline_matmul_assign): Use it to return early in case
of unhandled vector subscripts.
2015-05-12 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/66111
* gfortran.dg/inline_matmul_10.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1116 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150512/9c3c46b7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inline_matmul_10.f90
Type: text/x-fortran
Size: 1004 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150512/9c3c46b7/attachment-0001.bin>
More information about the Fortran
mailing list