This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/18761] C++ ABI bug on OS X with doubles


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]