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: insv vs one-bit fields


On Fri, Sep 02, 2005 at 09:40:20PM -0400, DJ Delorie wrote:
> So... why is it illegal to put a constant into a single bit field?

Probably because it was more efficient to use some other pattern
for some other target.

But there's absolutely zero chance you can reliably use a volatile
bit field to emit a given insn sequence necessary for accessing a 
hardware register.


r~


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