URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [ibits.f90] - Rev 816
Compare with Previous | Blame | View Log
! { dg-do run }! Test that the mask is properly converted to the kind type of j in ibits.program ibits_testimplicit noneinteger(8), parameter :: n = z'00000000FFFFFFFF'integer(8) i,j,k,mj = 1do i=1,70j = ishft(j,1) + 1k = ibits(j, 0, 32)m = iand(j,n)if (k /= m) call abortend doend program ibits_test
