[Bug rtl-optimization/67644] double load on volatile bitfield mem

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 21 05:12:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67644

--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Hm, maybe it'd be good to add a warning (enabled by default, can be disabled)
if volatile bitfields are used.  To me it looks like volatile bitfields have
almost no use (the way they are implemented by GCC now) and probably everybody
is just trying to avoid them anyway.



More information about the Gcc-bugs mailing list