re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / no_range_check_3.f90
blobffab312380a23d78c202a401567555ac6fd27f9c
1 ! { dg-do run }
2 ! { dg-options "-fno-range-check" }
3 program test
4 integer :: i
5 i = int(z'FFFFFFFF',kind(i))
6 if (i /= -1) STOP 1
7 if (int(z'FFFFFFFF',kind(i)) /= -1) STOP 2
9 if (popcnt(int(z'0F00F00080000001',8)) /= 10) STOP 3
10 if (popcnt(int(z'800F0001',4)) /= 6) STOP 4
12 end program test