[Bug libstdc++/96303] [10/11 Regression] Ambiguous overload for operator!= for std::__debug::bitset compiled with -std=c++20 and -pedantic.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 23 19:18:57 GMT 2020


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.

More information about the Gcc-bugs mailing list