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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [zero_sized_5.f90] - Rev 694

Compare with Previous | Blame | View Log

! { dg-do run }
! These used to segfault.
program main
  real, dimension(1,0) :: a, b, c
  integer, dimension(0) :: j
  a = 0
  c = 0
  b = cshift (a,1)
  b = cshift (a,j)
  b = eoshift (a,1)
  b = eoshift (a,1,boundary=c(1,:))
  b = eoshift (a, j, boundary=c(1,:))
end program main

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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