[Bug c++/96497] Compare std::variant with int using C++20 <=> is not a constant expression

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 7 11:50:30 GMT 2020


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 49019
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49019&action=edit
gcc11-pr96497.patch

Untested fix.


More information about the Gcc-bugs mailing list