public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99521] New: ICE Segmentation fault when decltype lambda in requires clause
@ 2021-03-10 16:01 hewillk at gmail dot com
  2021-03-10 16:12 ` [Bug c++/99521] " hewillk at gmail dot com
  2022-01-04  2:27 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: hewillk at gmail dot com @ 2021-03-10 16:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99521
           Summary: ICE Segmentation fault when decltype lambda in
                    requires clause
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          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 99513, but I am not sure.

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

int main() {
  [](auto) requires (decltype;
}

(godbolt: https://godbolt.org/z/WaP6qe)

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

end of thread, other threads:[~2022-01-04  2:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-10 16:01 [Bug c++/99521] New: ICE Segmentation fault when decltype lambda in requires clause hewillk at gmail dot com
2021-03-10 16:12 ` [Bug c++/99521] " hewillk at gmail dot com
2022-01-04  2:27 ` 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).