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

Subversion Repositories openrisc

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

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

! PR rtl-optimization/49472
! { dg-do compile }
! { dg-options "-O -fcompare-debug -ffast-math" }
subroutine pr49472
  integer, parameter :: n = 3
  real(8) :: a, b, c, d, e (n+1)
  integer :: i
  do i=2, (n+1)
    b = 1. / ((i - 1.5d0) * 1.)
    c = b * a
    d = -b * c / (1. + b * b) ** 1.5d0
    e(i) = d
  end do
  call dummy (e)
end subroutine

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.