public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99916] New: ICE Segmentation fault when erroneous structured bindings appears in requires-clause
@ 2021-04-05 12:18 hewillk at gmail dot com
2024-03-23 23:26 ` [Bug c++/99916] " pinskia at gcc dot gnu.org
2024-03-23 23:26 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: hewillk at gmail dot com @ 2021-04-05 12:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99916
Bug ID: 99916
Summary: ICE Segmentation fault when erroneous structured
bindings appears in 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: ---
https://godbolt.org/z/cW8367TTr
struct S {} s;
template <S> concept C = requires { [a] = s; };
static_assert(C<s>);
<source>:2:41: internal compiler error: Segmentation fault
2 | template <S> concept C = requires { [a] = s; };
| ~~~~^~~
0x1cfcba9 internal_error(char const*, ...)
???:0
0x7779e3 pp_cxx_parameter_mapping(cxx_pretty_printer*, tree_node*)
???:0
0x7e2a68 maybe_print_single_constraint_context(diagnostic_context*, tree_node*)
???:0
0x1cfb736 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
???:0
0x1cfc13d inform(unsigned int, char const*, ...)
???:0
0x73f30f diagnose_constraints(unsigned int, tree_node*, tree_node*)
???:0
0x98aba3 finish_static_assert(tree_node*, tree_node*, unsigned int, bool, bool)
???:0
0x8e14fd c_parse_file()
???:0
0xa60102 c_common_parse_file()
???:0
Please submit a full bug report,
with preprocessed source if appropriate.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/99916] ICE Segmentation fault when erroneous structured bindings appears in requires-clause
2021-04-05 12:18 [Bug c++/99916] New: ICE Segmentation fault when erroneous structured bindings appears in requires-clause hewillk at gmail dot com
@ 2024-03-23 23:26 ` pinskia at gcc dot gnu.org
2024-03-23 23:26 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-23 23:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99916
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=103408
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c++/99916] ICE Segmentation fault when erroneous structured bindings appears in requires-clause
2021-04-05 12:18 [Bug c++/99916] New: ICE Segmentation fault when erroneous structured bindings appears in requires-clause hewillk at gmail dot com
2024-03-23 23:26 ` [Bug c++/99916] " pinskia at gcc dot gnu.org
@ 2024-03-23 23:26 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-23 23:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99916
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed by r12-5710 (PR 103408).
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-23 23:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 12:18 [Bug c++/99916] New: ICE Segmentation fault when erroneous structured bindings appears in requires-clause hewillk at gmail dot com
2024-03-23 23:26 ` [Bug c++/99916] " pinskia at gcc dot gnu.org
2024-03-23 23:26 ` 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).