public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99513] New: ICE Segmentation fault when decltype lambda in concept template list
@ 2021-03-10 10:53 hewillk at gmail dot com
  2021-03-10 13:04 ` [Bug c++/99513] ICE Segmentation fault when decltype lambda in concept template list since r10-3735-gcb57504a55015891 marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hewillk at gmail dot com @ 2021-03-10 10:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99513
           Summary: ICE Segmentation fault when decltype lambda in concept
                    template list
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

This may be related/duplicated to the 99505, but I am not sure.

The following invalid code will trigger Segmentation fault on gcc-10 and
gcc-11:

template <decltype([]{})> concept C = true;
auto f() requires C<{}>;

(wandbox: https://wandbox.org/permlink/1gwi5zWcrICysV5G)
(godbolt: https://godbolt.org/z/PMYz6e)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-13  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 10:53 [Bug c++/99513] New: ICE Segmentation fault when decltype lambda in concept template list hewillk at gmail dot com
2021-03-10 13:04 ` [Bug c++/99513] ICE Segmentation fault when decltype lambda in concept template list since r10-3735-gcb57504a55015891 marxin at gcc dot gnu.org
2024-04-13  7:45 ` pinskia at gcc dot gnu.org
2024-04-13  7:47 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).