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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [libgomp/] [testsuite/] [libgomp.fortran/] [appendix-a/] [a.31.5.f90] - Blame information for rev 867

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

Line No. Rev Author Line
1 38 julius
! { 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

powered by: WebSVN 2.1.0

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