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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [pr35944-2.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do run }
2
! { dg-require-effective-target fortran_large_real }
3
 
4
  implicit none
5
  integer,parameter :: k = selected_real_kind (precision (0.0_8) + 1)
6
  integer :: i
7
  real(k) :: qda1(10), qda(10), qval
8
 
9
  qda = (/ 1,2,3,4,5,6,7,8,9,10 /)
10
  QDA1 = MOD (1.1_k*(QDA(1)-5.0_k), P=(QDA-2.5_k))
11
  DO i = 1, 10
12
    QVAL = MOD (1.1_k*(QDA(1)-5.0_k), P=(QDA(i)-2.5_k))
13
    if (qval /= qda1(i)) call abort
14
  enddo
15
end

powered by: WebSVN 2.1.0

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