public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/29563]  New: Internal read loses data.
@ 2006-10-23 14:08 refson dot temp at ntlworld dot com
  2006-10-23 15:54 ` [Bug fortran/29563] " pault at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: refson dot temp at ntlworld dot com @ 2006-10-23 14:08 UTC (permalink / raw)
  To: gcc-bugs

gcc version 4.3.0 20061023 (experimental)
Mandriva 2006.0

The program

   program gfbread
     character(len=256), dimension(3) :: block_data = (/'1 2 3','4 5 6','7 8
9'/)
     real(kind=8), dimension(3,3) :: tmp_box
     read(block_data,*,iostat=iostat)((tmp_box(i,j),j=1,3),i=1,3)
     write(*,'(3F10.5)') ((tmp_box(i,j),j=1,3),i=1,3)
   end program gfbread

prints the output 

   1.00000   2.00000   3.00000
   4.00000   5.00000   6.00000
   7.00000   8.00000   0.00000

instead of the correct

   1.00000   2.00000   3.00000
   4.00000   5.00000   6.00000
   7.00000   8.00000   9.00000


-- 
           Summary: Internal read loses data.
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: refson dot temp at ntlworld dot com
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2006-10-27 21:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-23 14:08 [Bug fortran/29563] New: Internal read loses data refson dot temp at ntlworld dot com
2006-10-23 15:54 ` [Bug fortran/29563] " pault at gcc dot gnu dot org
2006-10-24  2:12 ` jvdelisle at gcc dot gnu dot org
2006-10-25  5:17 ` jvdelisle at gcc dot gnu dot org
2006-10-26  4:36 ` jvdelisle at gcc dot gnu dot org
2006-10-26  4:42 ` jvdelisle at gcc dot gnu dot org
2006-10-26  7:17 ` jvdelisle at gcc dot gnu dot org
2006-10-26  7:20 ` jvdelisle at gcc dot gnu dot org
2006-10-26  7:23 ` jvdelisle at gcc dot gnu dot org
2006-10-27  1:04 ` jvdelisle at gcc dot gnu dot org
2006-10-27  2:04 ` jvdelisle at gcc dot gnu dot org
2006-10-27  2:08 ` jvdelisle at gcc dot gnu dot org
2006-10-27 20:50 ` jvdelisle at gcc dot gnu dot org
2006-10-27 20:57 ` jvdelisle at gcc dot gnu dot org
2006-10-27 21:41 ` jvdelisle at gcc dot gnu dot org
2006-10-27 21:42 ` 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).