just wonder if there is a way to pick-up integer miss-match (see simple example below) as it might frequnetly appear when porting from Win32 to x64. Any suggestions how I can find such flaws? Useful compiler options, etc..
program test
integer(4) i4
integer(8) i8
i8 = 2
do i = 1,19
i4= i8 ! here is the miss-match that leads to problems for i>10
write (*,*) 'i4= ', i4, '; i8=', i8
i8 = 10*i8
enddo
read(*,*)
end program test