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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

! { dg-lto-do link }
! { dg-lto-options {{ -O -flto -ftree-vectorize }} }

function no_of_edges(self) result(res)
  integer(kind=kind(1)) :: edge_bit_string
  integer(kind=kind(1)) :: res
  integer(kind=kind(1)) :: e
  do e = 0, 11
     if (.not. btest(edge_bit_string,e)) cycle
     res = res + 1
  end do
end function no_of_edges

end program

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.