[Bug libstdc++/96816] bitset: debug mode: operator== ambiguous

2020-08-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96816 --- Comment #4 from Jonathan Wakely --- (In reply to Jean-Michaël Celerier from comment #0) > g++ does not, but I guess this still warrants checking ? N.B. GCC does give an error if you compile with -Wpedantic -std=c++20

[Bug libstdc++/96816] bitset: debug mode: operator== ambiguous

2020-08-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96816 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/96816] bitset: debug mode: operator== ambiguous

2020-08-27 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96816 --- Comment #2 from Jean-Michaël Celerier --- I'd wager this is a result of C++20 operator<=> changes and operator== synthesis.

[Bug libstdc++/96816] bitset: debug mode: operator== ambiguous

2020-08-27 Thread jeanmichael.celerier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96816 --- Comment #1 from Jean-Michaël Celerier --- gcc.godbolt.org link for easy repro: https://gcc.godbolt.org/z/WYbzfT