This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: honor volatile bitfield types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]