[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug c++/103408] ICE when requires auto(x) in C++23
From: "mpolacek at gcc dot gnu.org via Gcc-bugs" <gcc-bugs () gcc ! gnu ! org>
Date: 2021-11-30 21:22:43
Message-ID: bug-103408-4-EmZHMD7kfq () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103408
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to 康桓瑋 from comment #3)
> (In reply to Marek Polacek from comment #2)
> > Started with r12-5386, obviously.
>
> I don't know if it is caused by the same bug.
>
> template<auto>
> concept C = auto([]{});
> static_assert(C<0>);
>
> https://godbolt.org/z/nj6qbGxP7
That's a different bug, but I think I can fix that too.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic