public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/25289]  New: Cannot handle record numbers large than huge(0_4)
@ 2005-12-06 23:30 fxcoudert at gcc dot gnu dot org
  2005-12-10 16:17 ` [Bug libfortran/25289] " jb at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-12-06 23:30 UTC (permalink / raw)
  To: gcc-bugs

malo /tmp $ cat a.f
      integer*1 abyte
      integer*8 n
      n = huge(0_4)
      n = 256 * n
      print *, n
      open(10,file="foo",recl=1,form='unformatted',access='direct')
      write(10,rec=n) abyte
      close(10)
      end
malo /tmp $ ifort a.f && ./a.out
          549755813632
malo /tmp $ ls -lh foo
-rw-r--r--  1 fx fx 2.0T Dec  7 00:29 foo
malo /tmp $ gfortran a.f && ./a.out
         549755813632
At line 7 of file a.f
Fortran runtime error: Record number must be positive


-- 
           Summary: Cannot handle record numbers large than huge(0_4)
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        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=25289


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

end of thread, other threads:[~2006-07-29  5:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06 23:30 [Bug libfortran/25289] New: Cannot handle record numbers large than huge(0_4) fxcoudert at gcc dot gnu dot org
2005-12-10 16:17 ` [Bug libfortran/25289] " jb at gcc dot gnu dot org
2005-12-10 17:52 ` fxcoudert at gcc dot gnu dot org
2006-06-18 21:39 ` jvdelisle at gcc dot gnu dot org
2006-06-29 21:37 ` patchapp at dberlin dot org
2006-07-24  0:18 ` jvdelisle at gcc dot gnu dot org
2006-07-24  0:20 ` jvdelisle at gcc dot gnu dot org
2006-07-24  0:26 ` jvdelisle at gcc dot gnu dot org
2006-07-29  5:12 ` jvdelisle 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).