public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101717] New: ICE capturing static member by ref within stateless lambda
@ 2021-08-02  0:21 johelegp at gmail dot com
  2021-08-02  0:24 ` [Bug c++/101717] ICE capturing static member within stateless generic lambda johelegp at gmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: johelegp at gmail dot com @ 2021-08-02  0:21 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101717
           Summary: ICE capturing static member by ref within stateless
                    lambda
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: johelegp at gmail dot com
                CC: johelegp at gmail dot com
  Target Milestone: ---

See https://godbolt.org/z/z4d4qhx8j.
```C++
struct x {
  static void f() noexcept { }
  void (*_)() = [] { [&](auto) { f(); }(0); };
};
```

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

end of thread, other threads:[~2022-05-13 17:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [Bug c++/101717] ICE capturing static member within stateless generic lambda johelegp at gmail dot com
2021-08-02 17:17 ` [Bug c++/101717] [12 Regression] " 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

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).