aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Koenig <Thomas.Koenig@online.de>2005-07-29 21:47:00 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2005-07-29 21:47:00 +0000
commit0bab7d3f439709b993ee0d87316a37c78d50e266 (patch)
treeccb936ec9709cd3f64c6caacd724aa810b1abdd8
parentbc1594c1428a6202a739b157bcdd0f4db2c5faf7 (diff)
downloadgcc-0bab7d3f439709b993ee0d87316a37c78d50e266.zip
gcc-0bab7d3f439709b993ee0d87316a37c78d50e266.tar.gz
gcc-0bab7d3f439709b993ee0d87316a37c78d50e266.tar.bz2
matmul_1.f90: Correct LHS of matmul test (it used to have the wrong bounds).
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). From-SVN: r102568
-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