URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [mvbits_3.f90] - Rev 302
Compare with Previous | Blame | View Log
! { dg-do run }!! PR fortran/!! The trans-*.c part of the compiler did no know! that mvbits is an elemental function.!! Test case contributed by P.H. Lundow.!program mainimplicit noneinteger :: a( 2 ), b( 2 )integer :: x, ya = 1b = 0x = 1y = 0call mvbits (a, 0, 1, b, 1)call mvbits (x, 0, 1, y, 1)! write (*, *) 'a: ', a! write (*, *) 'x: ', x! write (*, *)! write (*, *) 'b: ', b! write (*, *) 'y: ', y! write (*, *)if ( any (b /= y) ) call abort()end program main
