This is the mail archive of the gcc-bugs@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]

[Bug target/45637] Suspicious code for bit fields



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-09-10 15:30 -------
>1. index is constant or variable, and

Yes that is correct.  

>2. the 'bar' field type.

The alignment of the access is different in those cases.  

>In any case byte accesses should be used.
Why, word access is just as fast (if not faster) than a byte access on PPC.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45637


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