This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45637] Suspicious code for bit fields
- From: "sebastian dot huber at embedded-brains dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2010 15:59:18 -0000
- Subject: [Bug target/45637] Suspicious code for bit fields
- References: <bug-45637-16781@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from sebastian dot huber at embedded-brains dot de 2010-09-10 15:59 -------
(In reply to comment #3)
> >For volatile fields we should use accesses of the appropriate width.
>
> The PowerPC ABI has specific rules for accessing volatile bitfields and IIRC it
> says they should be doing the largest available (up to the register size) size.
>
> This is different from the ARM ABI which says the opposite.
>
Thank you very much for your comments. I will investigate the PowerPC ABI
issue and contact the manufacturer. Ironically they produced the ABI and these
register definitions.
--
sebastian dot huber at embedded-brains dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45637