This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45510] Bug with anonymous unions and bit-fields
- From: "runipg at broadcom dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Sep 2010 14:45:59 -0000
- Subject: [Bug c++/45510] Bug with anonymous unions and bit-fields
- References: <bug-45510-19650@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from runipg at broadcom dot com 2010-09-03 14:45 -------
Subject: Re: Bug with anonymous unions and bit-fields
Thank you so much. You can close this bug if you wish.
-Runip
On 03-Sep-2010, at 3:47 AM, paolo dot carlini at oracle dot com
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #8 from paolo dot carlini at oracle dot com 2010-09-03 10:46 -------
> If you look at the actual Standard, both alignment and allocation of bit-fields
> are implementation defined. Thus, as far as I can see, at best we are talking
> about non-portable implementation defined behavior. If you want my advice, try
> to stay away from those tricks, with and without anonymous struct.
>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45510
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45510