This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36341] MATMUL: Bounds check missing (run time & compile time)
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jun 2008 12:51:17 -0000
- Subject: [Bug fortran/36341] MATMUL: Bounds check missing (run time & compile time)
- References: <bug-36341-14178@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dominiq at lps dot ens dot fr 2008-06-28 12:51 -------
With the patch in comment #7 on i686-apple-darwin9, the test
gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_matmul.f90
fails with
v(1:2) = matmul(a, y)
1
Error: Different shape for array assignment at (1) on dimension 1 (2 and 3)
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O0
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O1
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O2
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O2
-fomit-frame-pointer -finline-functions
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O2
-fomit-frame-pointer -finline-functions -funroll-loops
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O2
-fbounds-check
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O3
-g
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -Os
FAIL: gfortran.fortran-torture/execute/intrinsic_matmul.f90 compilation, -O2
-ftree-vectorize -msse2
Now testing with -m64.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36341