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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

! { dg-do run }
! PR 30321:  This used to segfault.
program xzero
  implicit none
  integer :: ii(1,0)
  logical :: ll(1,0)
  character (len=80) line
  ll = .true.
  write (unit=line, fmt="(I6)") sum(ii,dim=1)
  if (line /= " ") call abort
  write (unit=line, fmt="(I6)") sum(ii,dim=1,mask=ll)
  if (line /= " ") call abort
end program xzero

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.