re PR fortran/41278 (internal compiler error related to matmul and transpose)
2009-11-30 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/41278 * gfortran.dg/array_function_5.f90: New test. From-SVN: r154864
This commit is contained in:
parent
52f21f0ec9
commit
a05492f185
|
@ -1,3 +1,8 @@
|
|||
2009-11-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/41278
|
||||
* gfortran.dg/array_function_5.f90: New test.
|
||||
|
||||
2009-11-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* gcc.dg/O16384.c: New test.
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
! { dg-do run )
|
||||
! PR41278 internal compiler error related to matmul and transpose
|
||||
! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
program bug
|
||||
implicit none
|
||||
real, dimension(3,3) :: matA,matB,matC
|
||||
|
||||
matA(1,:)=(/1., 2., 3./)
|
||||
matA(2,:)=(/4., 5., 6./)
|
||||
matA(3,:)=(/7., 8., 9./)
|
||||
|
||||
matB=matmul(transpose(0.5*matA),matA)
|
||||
matC = transpose(0.5*matA)
|
||||
matC = matmul(matC, matA)
|
||||
if (any(matB.ne.matC)) call abort()
|
||||
end program bug
|
Loading…
Reference in New Issue