public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/24305]  New: Complex(10) formatted IO is broken.
@ 2005-10-11  5:50 jblomqvi at cc dot hut dot fi
  2005-10-11  5:55 ` [Bug libfortran/24305] " jblomqvi at cc dot hut dot fi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jblomqvi at cc dot hut dot fi @ 2005-10-11  5:50 UTC (permalink / raw)
  To: gcc-bugs

The problem is that the IO routines assume kind==size, and complex numbers are
handled as two reals, advancing a pointer between doing the IO. For types with
padding such as complex(10) this breaks as the pointer is advanced 10 bytes
instead of 12 (or 16 on IA64, x86-64).

It should be noted that the patch proposed for 24174 also fixes complex(10)
formatted output.


-- 
           Summary: Complex(10) formatted IO is broken.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jblomqvi at cc dot hut dot fi
GCC target triplet: i686-pc-linux-gnu


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


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

end of thread, other threads:[~2005-11-13  6:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-11  5:50 [Bug libfortran/24305] New: Complex(10) formatted IO is broken jblomqvi at cc dot hut dot fi
2005-10-11  5:55 ` [Bug libfortran/24305] " jblomqvi at cc dot hut dot fi
2005-11-05 18:08 ` jblomqvi at cc dot hut dot fi
2005-11-06 18:28 ` jb at gcc dot gnu dot org
2005-11-11 20:41 ` jb at gcc dot gnu dot org
2005-11-13  6:31 ` pinskia 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).