This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28763] sizeof macro appears broken when bitfields are in structures
- From: "mcvick_e at iname dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2006 00:03:27 -0000
- Subject: [Bug target/28763] sizeof macro appears broken when bitfields are in structures
- References: <bug-28763-8046@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from mcvick_e at iname dot com 2006-08-18 00:03 -------
(In reply to comment #4)
> -mstrict-align does not do what you think it does. What it does is say the
> alignment requirements for loads/stores cannot be violated.
That's fine for the -mstrict-align, however as I stated in my last two comments
the ABI for the Power PC state that this is clearly incorrect behavior.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28763