[Bug tree-optimization/99919] [10/11/12/13 Regression] bogus -Wmaybe-uninitialized with a _Bool bit-field

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 8 10:47:34 GMT 2022


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 54047
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54047&action=edit
patch

I also have a patch - this disables optimize_bit_field_compare for
bitfield vs. constant compares which is the source of most premature
obfuscation and avoids missing the optimization of multiple bitfield
extracts as if more aggressively removing this code.


More information about the Gcc-bugs mailing list