This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18761] C++ ABI bug on OS X with doubles
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2004 18:59:06 -0000
- Subject: [Bug c++/18761] C++ ABI bug on OS X with doubles
- References: <20041201184702.18761.mmitchel@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mark at codesourcery dot com 2004-12-01 18:59 -------
Subject: Re: C++ ABI bug on OS X with doubles
pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-01 18:56 -------
> The problem has nothing to do with enums at all but doubles, if the double is the second element in
> the union it works. I do know that that would be correct for structs but I forgot about the rules for
> unions. Darwin uses the same rule as AIX uses for alignment so it is also a problem there too if this is
> a bug (someone will have to look it up).
Andrew, you're being careless again. Look harder.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18761