public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213
@ 2022-02-21 21:30 gscfq@t-online.de
2022-02-22 10:31 ` [Bug c++/104624] " rguenth at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2022-02-21 21:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
Bug ID: 104624
Summary: [10/11/12 Regression] ICE in standard_conversion, at
cp/call.cc:1213
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Started between 20200712 and 20200719 :
$ cat z1.cc
template <typename T>
auto f (T)
{
auto a = [](auto ... i)
{
int x[][i] = { 0 };
}();
}
void g ()
{
f(0);
}
$ g++-12-20220220 -c z1.cc
z1.cc: In instantiation of 'f<int>(int)::<lambda(auto:1 ...)> [with auto:1 =
{}]':
z1.cc:7:4: required from 'auto f(T) [with T = int]'
z1.cc:11:4: required from here
z1.cc:6:9: internal compiler error: Segmentation fault
6 | int x[][i] = { 0 };
| ^
0xda25ef crash_signal
../../gcc/toplev.cc:322
0x6cf5a7 standard_conversion
../../gcc/cp/call.cc:1213
0x6d1d4d implicit_conversion_1
../../gcc/cp/call.cc:2031
0x6d1d4d implicit_conversion
../../gcc/cp/call.cc:2132
0x6e2e1c build_converted_constant_expr_internal
../../gcc/cp/call.cc:4498
0x72fe71 compute_array_index_type_loc
../../gcc/cp/decl.cc:10850
0x82da3e tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.cc:15677
0x82da60 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.cc:16105
0x82dfe3 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.cc:15622
0x837ddd tsubst_decl
../../gcc/cp/pt.cc:14929
0x82dec7 tsubst(tree_node*, tree_node*, int, tree_node*)
../../gcc/cp/pt.cc:15551
0x83d3a2 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.cc:18537
0x83b097 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.cc:18780
0x83b097 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.cc:18780
0x82f7d1 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
../../gcc/cp/pt.cc:26351
0x82f7d1 instantiate_body
../../gcc/cp/pt.cc:26351
0x830789 instantiate_decl(tree_node*, bool, bool)
../../gcc/cp/pt.cc:26644
0x755e23 maybe_instantiate_decl(tree_node*)
../../gcc/cp/decl2.cc:5587
0x7569a8 mark_used(tree_node*, int)
../../gcc/cp/decl2.cc:5880
0x6dbf16 build_over_call
../../gcc/cp/call.cc:9850
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
@ 2022-02-22 10:31 ` rguenth at gcc dot gnu.org
2022-02-22 15:30 ` gscfq@t-online.de
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-22 10:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |10.4
Priority|P3 |P2
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
2022-02-22 10:31 ` [Bug c++/104624] " rguenth at gcc dot gnu.org
@ 2022-02-22 15:30 ` gscfq@t-online.de
2022-02-22 19:17 ` mpolacek at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2022-02-22 15:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
> Started between 20200712 and 20200719 :
Sorry, a cut&pasto from pr104623. It started between 20200419 and 20200509.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
2022-02-22 10:31 ` [Bug c++/104624] " rguenth at gcc dot gnu.org
2022-02-22 15:30 ` gscfq@t-online.de
@ 2022-02-22 19:17 ` mpolacek at gcc dot gnu.org
2022-04-26 3:53 ` jason at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2022-02-22 19:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-02-22
Status|UNCONFIRMED |NEW
CC| |mpolacek at gcc dot gnu.org
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r10-7865-gaedd04caa945260ea77fd22f29b77292f7dba72e
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
` (2 preceding siblings ...)
2022-02-22 19:17 ` mpolacek at gcc dot gnu.org
@ 2022-04-26 3:53 ` jason at gcc dot gnu.org
2022-04-26 3:54 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jason at gcc dot gnu.org @ 2022-04-26 3:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
CC| |jason at gcc dot gnu.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104624] [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
` (3 preceding siblings ...)
2022-04-26 3:53 ` jason at gcc dot gnu.org
@ 2022-04-26 3:54 ` cvs-commit at gcc dot gnu.org
2022-06-28 10:48 ` [Bug c++/104624] [10/11 " jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug c++/104624] [11 " rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-04-26 3:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:
https://gcc.gnu.org/g:65735d21ac410463126114c572999682f987972c
commit r12-8258-g65735d21ac410463126114c572999682f987972c
Author: Jason Merrill <jason@redhat.com>
Date: Thu Apr 21 17:24:07 2022 -0400
c++: generic lambda fn parm pack [PR104624]
Parameter packs from the enclosing context can be used unexpanded in a
lambda that is itself part of a pack expansion, but not packs that are part
of the lambda itself. We already check for capture packs; we also need to
check for function parameter packs of the lambda call operator.
PR c++/104624
gcc/cp/ChangeLog:
* pt.cc (check_for_bare_parameter_packs): Check for lambda
function parameter pack.
gcc/testsuite/ChangeLog:
* g++.dg/cpp1y/lambda-generic-variadic22.C: New test.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104624] [10/11 Regression] ICE in standard_conversion, at cp/call.cc:1213
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
` (4 preceding siblings ...)
2022-04-26 3:54 ` cvs-commit at gcc dot gnu.org
@ 2022-06-28 10:48 ` jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug c++/104624] [11 " rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/104624] [11 Regression] ICE in standard_conversion, at cp/call.cc:1213
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
` (5 preceding siblings ...)
2022-06-28 10:48 ` [Bug c++/104624] [10/11 " jakub at gcc dot gnu.org
@ 2023-07-07 10:42 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104624
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-07-07 10:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-21 21:30 [Bug c++/104624] New: [10/11/12 Regression] ICE in standard_conversion, at cp/call.cc:1213 gscfq@t-online.de
2022-02-22 10:31 ` [Bug c++/104624] " rguenth at gcc dot gnu.org
2022-02-22 15:30 ` gscfq@t-online.de
2022-02-22 19:17 ` mpolacek at gcc dot gnu.org
2022-04-26 3:53 ` jason at gcc dot gnu.org
2022-04-26 3:54 ` cvs-commit at gcc dot gnu.org
2022-06-28 10:48 ` [Bug c++/104624] [10/11 " jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug c++/104624] [11 " rguenth 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).