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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgomp/] [testsuite/] [libgomp.fortran/] [appendix-a/] [a.31.5.f90] - Blame information for rev 407

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

Line No. Rev Author Line
1 273 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.