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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [vect/] [fast-math-pr33299.f90] - Blame information for rev 774

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

Line No. Rev Author Line
1 694 jeremybenn
! { dg-require-effective-target vect_double }
2
 
3
PROGRAM test
4
  REAL(8) :: f,dist(2)
5
  dist = [1.0_8, 0.5_8]
6
  if( f(1.0_8, dist) /= MINVAL(dist)) then
7
    call abort ()
8
  endif
9
END PROGRAM test
10
 
11
FUNCTION f( x, dist ) RESULT(s)
12
  REAL(8) :: dist(2), x, s
13
  s = MINVAL(dist)
14
  IF( x < 0 ) s = -s
15
END FUNCTION f
16
 
17
! { dg-final { cleanup-tree-dump "vect" } }

powered by: WebSVN 2.1.0

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