aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gfortran.dg/matmul_1.f902
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 9516f68..936ff52 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-29 Thomas Koenig <Thomas.Koenig@online.de>
+
+ * gfortran.dg/matmul_1.f90: Correct LHS of matmul test (it
+ used to have the wrong bounds).
+
2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
PR c/21720
diff --git a/gcc/testsuite/gfortran.dg/matmul_1.f90 b/gcc/testsuite/gfortran.dg/matmul_1.f90
index b3881c9..6496f88 100644
--- a/gcc/testsuite/gfortran.dg/matmul_1.f90
+++ b/gcc/testsuite/gfortran.dg/matmul_1.f90
@@ -33,7 +33,7 @@ Program matmul_1
! array sections
c = 0.0_T
- c = matmul (a(7:9,3:N), b(3:N,3:4))
+ c(1:3,1:2) = matmul (a(7:9,3:N), b(3:N,3:4))
if (sum (c) /= 576.0_T) call abort ()
! uses a temp