------- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-20 14:33 ------- A similar example:
$ cat conversion.f90 REAL(8), PARAMETER :: h = HUGE(0.0_8) real*4 x data x / h / end $ gfortran-svn -Wall conversion.f90 conversion.f90:1.28: REAL(8), PARAMETER :: h = HUGE(0.0_8) 1 Error: Arithmetic overflow converting REAL(8) to REAL(4) at (1). This check can be disabled with the option -fno-range-check The overflowing conversion occurs in the DATA statement ^^ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35849