https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82165
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82165
--- Comment #2 from Jason Merrill ---
Author: jason
Date: Mon Sep 16 04:34:23 2019
New Revision: 275745
URL: https://gcc.gnu.org/viewcvs?rev=275745&root=gcc&view=rev
Log:
PR c++/82165 - enum bitfields and operator overloading.
In this t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82165
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82165
--- Comment #1 from Richard Biener ---
IIRC bitfield rvalues get promoted to 'int' before overload resolution applies
but I may be wrong. enum bitfields may also be a GNU extension.