URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 302 |
Rev 384 |
! { dg-do run }
|
! { dg-do run }
|
! { dg-options "-fbounds-check" }
|
! { dg-options "-fbounds-check" }
|
! { dg-shouldfail "Incorrect extent in return value of CSHIFT intrinsic in dimension 2: is 3, should be 2" }
|
! { dg-shouldfail "Incorrect extent in return value of CSHIFT intrinsic in dimension 2: is 3, should be 2" }
|
program main
|
program main
|
integer, dimension(:,:), allocatable :: a, b
|
integer, dimension(:,:), allocatable :: a, b
|
allocate (a(2,2))
|
allocate (a(2,2))
|
allocate (b(2,3))
|
allocate (b(2,3))
|
a = 1
|
a = 1
|
b = cshift(a,1)
|
b = cshift(a,1)
|
end program main
|
end program main
|
! { dg-output "Fortran runtime error: Incorrect extent in return value of CSHIFT intrinsic in dimension 2: is 3, should be 2" }
|
! { dg-output "Fortran runtime error: Incorrect extent in return value of CSHIFT intrinsic in dimension 2: is 3, should be 2" }
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.