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

Compare with Previous | Blame | View Log

! { dg-do compile }
        PROGRAM A31_3_WRONG
        MAX = HUGE(0)
        M=0
        !$OMP PARALLEL DO REDUCTION(MAX: M) ! MAX is no longer the
                                            ! intrinsic so this
                                            ! is non-conforming
! { dg-error "is not INTRINSIC procedure name" "" { target *-*-* } 5 } */
        DO I = 1, 100
        CALL SUB(M,I)
        END DO
        END PROGRAM A31_3_WRONG
        SUBROUTINE SUB(M,I)
        M = MAX(M,I)
        END SUBROUTINE SUB

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.