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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgomp/] [testsuite/] [libgomp.fortran/] [appendix-a/] [a.31.5.f90] - Blame information for rev 735

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 735 jeremybenn
! { dg-do run }
2
            MODULE MOD
3
            INTRINSIC MAX, MIN
4
            END MODULE MOD
5
            PROGRAM A31_5
6
            USE MOD, MIN=>MAX, MAX=>MIN
7
            REAL :: R
8
            R = -HUGE(0.0)
9
            !$OMP PARALLEL DO REDUCTION(MIN: R) ! still does MAX
10
            DO I = 1, 1000
11
                R = MIN(R, SIN(REAL(I)))
12
            END DO
13
            PRINT *, R
14
            END PROGRAM A31_5
15
 
16
! { dg-final { cleanup-modules "mod" } }

powered by: WebSVN 2.1.0

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