public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/99800] New: ICE Segmentation fault when put lambda in template parameter list @ 2021-03-28 5:39 hewillk at gmail dot com 2021-03-29 8:11 ` [Bug c++/99800] " hewillk at gmail dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: hewillk at gmail dot com @ 2021-03-28 5:39 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99800 Bug ID: 99800 Summary: ICE Segmentation fault when put lambda in template parameter 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: --- https://godbolt.org/z/b6cnKo7ej template <int> struct A {}; template <A> struct B {}; template <A a> using b = B<[]{ return a; }()>; <source>:3:45: internal compiler error: Segmentation fault 3 | template <A a> using b = B<[]{ return a; }()>; | ^ 0x1cfb7f9 internal_error(char const*, ...) ???:0 0x6c42c5 resolve_args(vec<tree_node*, va_gc, vl_embed>*, int) ???:0 0x909251 do_auto_deduction(tree_node*, tree_node*, tree_node*, int, auto_deduction_context, tree_node*, int) ???:0 0x929663 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int) ???:0 0x97fb6d finish_template_type(tree_node*, tree_node*, int) ???:0 0x8e12ad c_parse_file() ???:0 0xa600a2 c_common_parse_file() ???:0 Please submit a full bug report, ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/99800] ICE Segmentation fault when put lambda in template parameter list 2021-03-28 5:39 [Bug c++/99800] New: ICE Segmentation fault when put lambda in template parameter list hewillk at gmail dot com @ 2021-03-29 8:11 ` hewillk at gmail dot com 2021-08-13 0:11 ` pinskia at gcc dot gnu.org 2021-08-13 0:12 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: hewillk at gmail dot com @ 2021-03-29 8:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99800 康桓瑋 <hewillk at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-invalid-code |ice-on-valid-code --- Comment #1 from 康桓瑋 <hewillk at gmail dot com> --- This is a valid code. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/99800] ICE Segmentation fault when put lambda in template parameter list 2021-03-28 5:39 [Bug c++/99800] New: ICE Segmentation fault when put lambda in template parameter list hewillk at gmail dot com 2021-03-29 8:11 ` [Bug c++/99800] " hewillk at gmail dot com @ 2021-08-13 0:11 ` pinskia at gcc dot gnu.org 2021-08-13 0:12 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-08-13 0:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99800 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |11.1.0 Known to work| |11.2.0 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Seems to work in GCC 11.2.0 and on the trunk. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/99800] ICE Segmentation fault when put lambda in template parameter list 2021-03-28 5:39 [Bug c++/99800] New: ICE Segmentation fault when put lambda in template parameter list hewillk at gmail dot com 2021-03-29 8:11 ` [Bug c++/99800] " hewillk at gmail dot com 2021-08-13 0:11 ` pinskia at gcc dot gnu.org @ 2021-08-13 0:12 ` pinskia at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-08-13 0:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99800 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I suspect it is a dup of one of: PR c++/89565 PR c++/93383 PR c++/95291 PR c++/99200 PR c++/99683 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-13 0:12 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-03-28 5:39 [Bug c++/99800] New: ICE Segmentation fault when put lambda in template parameter list hewillk at gmail dot com 2021-03-29 8:11 ` [Bug c++/99800] " hewillk at gmail dot com 2021-08-13 0:11 ` pinskia at gcc dot gnu.org 2021-08-13 0:12 ` 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).