mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 10:54:07 +08:00
Fix testsuite failure on 32-bit targets.
gcc/testsuite/ChangeLog: * gfortran.dg/unsigned_25.f90: Change KIND=16 to KIND=8.
This commit is contained in:
parent
d1e7f3a6c1
commit
3308e82480
@ -27,9 +27,9 @@ contains
|
||||
5u, uint(-6), 7u, uint(-8), 9u],[3,3])
|
||||
unsigned, parameter :: v(3,3) = 1u - u
|
||||
unsigned, parameter :: w(3,3) = matmul(u,v)
|
||||
integer(kind=16), dimension(3,3), parameter :: &
|
||||
i = int(u,16), j = int(v,16)
|
||||
integer(kind=16), dimension(3,3) :: k = matmul(i,j)
|
||||
integer(kind=8), dimension(3,3), parameter :: &
|
||||
i = int(u,8), j = int(v,8)
|
||||
integer(kind=8), dimension(3,3) :: k = matmul(i,j)
|
||||
if (any(uint(k) /= w)) error stop 2
|
||||
end subroutine test2
|
||||
end program memain
|
||||
|
Loading…
Reference in New Issue
Block a user