This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/24174] real(10) array output broken
- From: "jblomqvi at cc dot hut dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2005 19:35:59 -0000
- Subject: [Bug libfortran/24174] real(10) array output broken
- References: <bug-24174-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jblomqvi at cc dot hut dot fi 2005-10-09 19:35 -------
(In reply to comment #5)
> > It should be noted that the patch assumes that the padding for real(10) is 10
> > bytes data + 2 bytes padding. This works on i686-Linux, might not work on other
> > targets (big endian?).
>
> Itanium has padding to 16 bytes for 10-byte reals.
>
> Using 12 bytes for 10-byte reals on ia686 would mean breaking binary
> compatibility with Itanium :-(
Oh dear.. Is there any functionality one can use to get information about
padding (size, location of pad bytes etc.), or do we need to resort to lots of
#ifdef kludging?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24174