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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [testsuite/] [libgomp.fortran/] [pr46753.f90] - Rev 779

Go to most recent revision | Compare with Previous | Blame | View Log

! PR fortran/46753
! { dg-do run }

  integer :: i, j
  j = 0
!$omp parallel do reduction(+:j)
  do i = 2147483636, 2147483646
    j = j + 1
  end do
  if (j.ne.11) call abort
  j = 0
!$omp parallel do reduction(+:j)
  do i = -2147483637, -2147483647, -1
    j = j + 1
  end do
  if (j.ne.11) call abort
end

Go to most recent revision | 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.