https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39170
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #15 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #14) > Just an FYI, there's a proposal to add a -Wbitfield-conversion flag that > does something slightly different than the behavior described in this issue; > for reference, see: https://gcc.gnu.org/ml/gcc-patches/2014-11/msg00723.html > I'd be fine with it doing either the behavior in that patch, or the behavior > from this issue... I think the two behaviors are orthogonal. People still need an option that refines -Wconversion and allows silencing it for bit-fields. I will prefer if this option is called -Wbitfield-conversion and the other proposal is called something else (-Wbitfield-promotion ? -Wbitfield-shift ?). But whoever does the implementation work, will decide the name.