OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [array_function_5.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! {  dg-do run }
2
! PR41278 internal compiler error related to matmul and transpose
3
! Test case prepared by Jerry DeLisle  
4
! Original test case by Chris 
5
program bug
6
  implicit none
7
  real, dimension(3,3) :: matA,matB,matC
8
 
9
  matA(1,:)=(/1., 2., 3./)
10
  matA(2,:)=(/4., 5., 6./)
11
  matA(3,:)=(/7., 8., 9./)
12
 
13
  matB=matmul(transpose(0.5*matA),matA)
14
  matC = transpose(0.5*matA)
15
  matC = matmul(matC, matA)
16
  if (any(matB.ne.matC)) call abort()
17
end program bug

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.