http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47659
--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-08-08 14:50:33 UTC --- On Mon, Aug 08, 2011 at 06:07:36AM +0000, thenlich at users dot sourceforge.net wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47659 > > --- Comment #4 from Thomas Henlich <thenlich at users dot sourceforge.net> > 2011-08-08 06:07:33 UTC --- > It is not safe to omit the warning for integers: the constant could have been > truncated to an integer, as in: > > real(8) :: r8 > r8 = 12345678.9 > print *, r8 > > => 12345679.0000000 Technically, the above is not a truncation to integer. The rhs is rounded.