[Bug c++/82165] Operator overloading doesn't work with enum bit fields

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 12 10:05:00 GMT 2017


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

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
IIRC bitfield rvalues get promoted to 'int' before overload resolution applies
but I may be wrong.  enum bitfields may also be a GNU extension.


More information about the Gcc-bugs mailing list