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] - Rev 816

Compare with Previous | Blame | View Log

! { dg-do run }
            MODULE MOD
            INTRINSIC MAX, MIN
            END MODULE MOD
            PROGRAM A31_5
            USE MOD, MIN=>MAX, MAX=>MIN
            REAL :: R
            R = -HUGE(0.0)
            !$OMP PARALLEL DO REDUCTION(MIN: R) ! still does MAX
            DO I = 1, 1000
                R = MIN(R, SIN(REAL(I)))
            END DO
            PRINT *, R
            END PROGRAM A31_5

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.