public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/28094]  New: Modulo of real(kind=10) variables doesn't work
@ 2006-06-20 11:57 fxcoudert at gcc dot gnu dot org
  2006-06-20 19:09 ` [Bug fortran/28094] " paulthomas2 at wanadoo dot fr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2006-06-20 11:57 UTC (permalink / raw)
  To: gcc-bugs

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.


-- 
           Summary: Modulo of real(kind=10) variables doesn't work
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28094


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-07-02 21:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-20 11:57 [Bug fortran/28094] New: Modulo of real(kind=10) variables doesn't work fxcoudert at gcc dot gnu dot org
2006-06-20 19:09 ` [Bug fortran/28094] " paulthomas2 at wanadoo dot fr
2006-06-21 14:54 ` fxcoudert at gcc dot gnu dot org
2006-06-24  8:36 ` fxcoudert at gcc dot gnu dot org
2006-06-24  9:23 ` [Bug fortran/28094] [4.1 only] " fxcoudert at gcc dot gnu dot org
2006-06-29 21:40 ` patchapp at dberlin dot org
2006-07-02 21:17 ` fxcoudert at gcc dot gnu dot org
2006-07-02 21:23 ` [Bug fortran/28094] " fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).