This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Volatile bitfields vs. inline asm memory constraints
- From: DJ Delorie <dj at redhat dot com>
- To: Julian Brown <julian at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Nov 2010 16:43:47 -0500
- Subject: Re: [PATCH] Volatile bitfields vs. inline asm memory constraints
- References: <20101122132854.0aca431a@rex.config>
The key thing to check is if you have this field:
int a:8;
and it's 8-bit aligned anyway, that you still do an int-sized and
int-aligned access.