diff options
author | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-30 18:17:54 +0000 |
---|---|---|
committer | pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-30 18:17:54 +0000 |
commit | b87be38a2a8cb0b5fbc44e46a84a97ec9fc7b6bd (patch) | |
tree | 8d5060179c1555bf00d893dbf55493ade73249a1 /libgfortran/generated/all_l4.c | |
parent | b62e1ab29e7cd874f4f46c9f2607b3e17601232c (diff) | |
download | gcc-b87be38a2a8cb0b5fbc44e46a84a97ec9fc7b6bd.tar.gz |
Fix matmul PR18857 and supply testcase
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99041 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/generated/all_l4.c')
-rw-r--r-- | libgfortran/generated/all_l4.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/generated/all_l4.c b/libgfortran/generated/all_l4.c index ddf9be1338e..84062e62327 100644 --- a/libgfortran/generated/all_l4.c +++ b/libgfortran/generated/all_l4.c @@ -55,6 +55,9 @@ all_l4 (gfc_array_l4 *retarray, gfc_array_l4 *array, index_type *pdim) /* Make dim zero based to avoid confusion. */ dim = (*pdim) - 1; rank = GFC_DESCRIPTOR_RANK (array) - 1; + + /* TODO: It should be a front end job to correctly set the strides. */ + if (array->dim[0].stride == 0) array->dim[0].stride = 1; |