patch: honor volatile bitfield types
Daniel Jacobowitz
dan@codesourcery.com
Wed Jun 23 17:06:00 GMT 2010
On Wed, Jun 23, 2010 at 11:34:04AM -0400, DJ Delorie wrote:
>
> > Can we similarly promise or say something for accesses of the
> > containing struct as a whole?
>
> I hadn't considered those cases (when would you want to copy a
> *peripheral* ?) Should be the same as before, I would think.
Not the peripheral, just one register. e.g. you might read a control
register into a struct of the same (32-bit) type, and then read
multiple fields from the copied struct.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gcc
mailing list