[Bug middle-end/45274] __restrict__ type qualifier does not work on pointers to bitfields
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 11 20:13:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45274
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Target|powerpc64-unknown-linux-gnu |
|, mips64-elf |
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-11 20:13:25 UTC ---
(In reply to comment #1)
> I don't think this has anything to do with restrict and all with lowering
> bitfield accesses only during expansion, and at RTL level the bitfield
> operations being too big for combiner to optimize them.
No this is unrelated to the combiner not be able to optimize the bitfield
accesses. Rather it is related to how store and loads happen on bitfields. We
don't try to keep track of individual bits for a change in the store.
More information about the Gcc-bugs
mailing list