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 20:52:12 -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 #7 from jblomqvi at cc dot hut dot fi 2005-10-09 20:52 -------
(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 :-(
Indeed, looking at
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
it seems that x86-64 also pads real(10) to 16 bytes. See the doc for the
-m128bit-long-double switch.
--
jblomqvi at cc dot hut dot fi changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24174