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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [gomp/] [appendix-a/] [a.31.3.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
        PROGRAM A31_3_WRONG
3
        MAX = HUGE(0)
4
        M=0
5
        !$OMP PARALLEL DO REDUCTION(MAX: M) ! MAX is no longer the
6
                                            ! intrinsic so this
7
                                            ! is non-conforming
8
! { dg-error "is not INTRINSIC procedure name" "" { target *-*-* } 5 } */
9
        DO I = 1, 100
10
        CALL SUB(M,I)
11
        END DO
12
        END PROGRAM A31_3_WRONG
13
        SUBROUTINE SUB(M,I)
14
        M = MAX(M,I)
15
        END SUBROUTINE SUB

powered by: WebSVN 2.1.0

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