[Bug libstdc++/104606] [10/11/12 Regression] comparison operator resolution with std::optional and -std=c++20

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 19 22:59:25 GMT 2022


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.3.0
            Summary|[11/12 Regression]          |[10/11/12 Regression]
                   |comparison operator         |comparison operator
                   |resolution with             |resolution with
                   |std::optional and           |std::optional and
                   |-std=c++20                  |-std=c++20
          Component|c++                         |libstdc++
   Target Milestone|11.3                        |10.4

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> Just wild guess, perhaps the PR98842 changes between 11.1 and 11.2?

That would mean it is a bug in GCC 10.4 also :(.


More information about the Gcc-bugs mailing list