https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96303
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org Last reconfirmed| |2020-07-23 Status|UNCONFIRMED |ASSIGNED Known to work| |9.3.0 Known to fail| |10.2.0, 11.0 Summary|Ambiguous overload for |[10/11 Regression] |operator!= for |Ambiguous overload for |std::__debug::bitset |operator!= for |compiled with -std=c++20 |std::__debug::bitset |and -pedantic. |compiled with -std=c++20 | |and -pedantic. Target Milestone|--- |10.3 Keywords| |rejects-valid --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Yes I didn't realise the debug bitset defines its own rel ops. I wonder if it really needs them at all.