------- Comment #1 from paulthomas2 at wanadoo dot fr 2006-06-20 19:08 ------- Subject: Re: New: Modulo of real(kind=10) variables doesn't work
fxcoudert at gcc dot gnu dot org wrote: >While working on PR 24518, I found the following: > >$ cat a.f90 > real(kind=10) :: x = 10.0 > print *, mod (x,x) > end >$ gfortran a.f90 > In file a.f90:3 > > end > 1 > Internal Error at (1): > gfc_validate_kind(): Got bad kind > > >It looks like we're trying to use the integer kind associated with the real >kind, and of course, there's not integer(kind=10) available. > > Yes, I knew about this and assumed that it was all part of Cygwin being Hicksville! Seriously, I never got round to reporting it because I was so tied up trying to prepare a decent fix for mod. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28094