public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99538] New: ICE when lambda return requires clause
@ 2021-03-11 2:41 hewillk at gmail dot com
2024-04-13 20:39 ` [Bug c++/99538] ICE: in maybe_add_lambda_conv_op, at cp/lambda.c:1037 pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: hewillk at gmail dot com @ 2021-03-11 2:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99538
Bug ID: 99538
Summary: ICE when lambda return requires clause
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: ---
The following code will trigger the ICE of gcc-10 and trunk:
int main(){
[] { return requires { []{}; }; };
}
(godbolt: https://godbolt.org/z/WGjx9h)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/99538] ICE: in maybe_add_lambda_conv_op, at cp/lambda.c:1037
2021-03-11 2:41 [Bug c++/99538] New: ICE when lambda return requires clause hewillk at gmail dot com
@ 2024-04-13 20:39 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-04-13 20:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99538
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |c++-lambda
Last reconfirmed| |2024-04-13
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
<source>:3:35: internal compiler error: in maybe_add_lambda_conv_op, at
cp/lambda.cc:1099
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-13 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 2:41 [Bug c++/99538] New: ICE when lambda return requires clause hewillk at gmail dot com
2024-04-13 20:39 ` [Bug c++/99538] ICE: in maybe_add_lambda_conv_op, at cp/lambda.c:1037 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).