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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |10.1.0
   Target Milestone|10.5                        |10.0
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
This looks invalid now:

g++ -S t.C -std=c++20           
t.C:2:9: error: the 'bool' keyword is not allowed in a C++20 concept definition
[-fpermissive]
    2 | concept bool C = true;
      |         ^~~~

it's a warning with GCC 10, 11 and 12 but error with 13.  With -std=c++17
-fconcepts it's accepted but GCC 13 still errors?

The original bug still is fixed though.

Reply via email to