------- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-09-04 10:26 ------- I think it's the expected behaviour. Other compilers emit warnings (or nothing) for this situation or related ones (like x = 2*huge() below), we chose to emit hard errors that can be bypassed by using -fno-range-check.
real x x = nearest(huge(1.0),1.0) x = 2 * huge(1.0) print *, x end -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org Status|UNCONFIRMED |RESOLVED GCC target triplet|powerpc-apple-darwin8 | Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33296