public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "johelegp at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/101717] ICE capturing static member within stateless generic lambda Date: Mon, 02 Aug 2021 00:24:06 +0000 [thread overview] Message-ID: <bug-101717-4-lt7CoJdB1x@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-101717-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101717 Johel Ernesto Guerrero Peña <johelegp at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE capturing static member |ICE capturing static member |by ref within stateless |within stateless generic |lambda |lambda --- Comment #1 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> --- A bit simpler and a clarification: capturing at all within a generic stateless lambda. https://godbolt.org/z/q11fT7MM8. ```C++ struct x { static void f() { } void (*_)() = [] { [=](auto) { f(); }(0); }; }; ```
next prev parent reply other threads:[~2021-08-02 0:24 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-02 0:21 [Bug c++/101717] New: ICE capturing static member by ref within stateless lambda johelegp at gmail dot com 2021-08-02 0:24 ` johelegp at gmail dot com [this message] 2021-08-02 17:17 ` [Bug c++/101717] [12 Regression] ICE capturing static member within stateless generic lambda pinskia at gcc dot gnu.org 2021-08-02 17:17 ` pinskia at gcc dot gnu.org 2021-08-03 22:23 ` StevenSun2021 at hotmail dot com 2021-08-03 22:51 ` pinskia at gcc dot gnu.org 2021-08-03 23:28 ` StevenSun2021 at hotmail dot com 2021-12-29 0:03 ` [Bug c++/101717] [9/10/11/12 " pinskia at gcc dot gnu.org 2022-01-17 13:58 ` rguenth at gcc dot gnu.org 2022-01-31 15:59 ` marxin at gcc dot gnu.org 2022-04-07 2:00 ` jason at gcc dot gnu.org 2022-04-07 3:26 ` cvs-commit at gcc dot gnu.org 2022-04-12 20:14 ` [Bug c++/101717] [9/10/11 " cvs-commit at gcc dot gnu.org 2022-05-12 21:15 ` [Bug c++/101717] [9/10 " cvs-commit at gcc dot gnu.org 2022-05-13 17:41 ` [Bug c++/101717] [9 " cvs-commit at gcc dot gnu.org 2022-05-13 17:47 ` jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-101717-4-lt7CoJdB1x@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).