* [Bug c++/86960] [8/9/10/11 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
@ 2021-04-08 16:18 ` jason at gcc dot gnu.org
2021-05-14 9:50 ` [Bug c++/86960] [9/10/11/12 " jakub at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: jason at gcc dot gnu.org @ 2021-04-08 16:18 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> ---
Created attachment 50531
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50531&action=edit
WIP patches
Here's that 2019 work in progress, relative to r267647.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [9/10/11/12 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
2021-04-08 16:18 ` [Bug c++/86960] [8/9/10/11 Regression] ICE on specialization of member template with fixed parameter pack jason at gcc dot gnu.org
@ 2021-05-14 9:50 ` jakub at gcc dot gnu.org
2021-06-01 8:12 ` rguenth at gcc dot gnu.org
` (8 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [9/10/11/12 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
2021-04-08 16:18 ` [Bug c++/86960] [8/9/10/11 Regression] ICE on specialization of member template with fixed parameter pack jason at gcc dot gnu.org
2021-05-14 9:50 ` [Bug c++/86960] [9/10/11/12 " jakub at gcc dot gnu.org
@ 2021-06-01 8:12 ` rguenth at gcc dot gnu.org
2022-05-27 9:39 ` [Bug c++/86960] [10/11/12/13 " rguenth at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [10/11/12/13 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2021-06-01 8:12 ` rguenth at gcc dot gnu.org
@ 2022-05-27 9:39 ` rguenth at gcc dot gnu.org
2022-06-28 10:35 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [10/11/12/13 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2022-05-27 9:39 ` [Bug c++/86960] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:35 ` jakub at gcc dot gnu.org
2023-01-19 14:15 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #13 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] 11+ messages in thread
* [Bug c++/86960] [10/11/12/13 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2022-06-28 10:35 ` jakub at gcc dot gnu.org
@ 2023-01-19 14:15 ` rguenth at gcc dot gnu.org
2023-01-19 14:16 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-01-19 14:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2018-08-14 00:00:00 |2023-1-19
--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Re-confirmed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [10/11/12/13 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2023-01-19 14:15 ` rguenth at gcc dot gnu.org
@ 2023-01-19 14:16 ` rguenth at gcc dot gnu.org
2023-01-31 18:32 ` mpolacek at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-01-19 14:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, clang rejects it:
t.ii:8:15: error: non-type template parameter conflicts with previous non-type
template parameter pack
template<bool x>
^
t.ii:3:19: note: previous non-type template parameter pack declared here
template<T... x>
^
t.ii:13:28: error: implicit instantiation of undefined template
'Outer<bool>::Inner<true>'
static_assert(Outer<bool>::Inner<true>::value);
^
t.ii:4:12: note: template is declared here
struct Inner;
^
2 errors generated.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [10/11/12/13 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2023-01-19 14:16 ` rguenth at gcc dot gnu.org
@ 2023-01-31 18:32 ` mpolacek at gcc dot gnu.org
2023-07-07 10:34 ` [Bug c++/86960] [11/12/13/14 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 11+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-01-31 18:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #16 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Still reproduces:
86960.C:13:38: internal compiler error: tree check: accessed elt 1 of
‘tree_vec’ with 0 elts in tsubst_pack_expansion, at cp/pt.cc:13326
13 | static_assert(Outer<bool>::Inner<true>::value);
| ^
0x1d563fd tree_vec_elt_check_failed(int, int, char const*, int, char const*)
/home/mpolacek/src/gcc/gcc/tree.cc:9110
0xc24ebb tree_vec_elt_check(tree_node*, int, char const*, int, char const*)
/home/mpolacek/src/gcc/gcc/tree.h:3751
0xf6de30 tsubst_pack_expansion(tree_node*, tree_node*, int, tree_node*)
/home/mpolacek/src/gcc/gcc/cp/pt.cc:13326
0xf599a0 coerce_template_parameter_pack
/home/mpolacek/src/gcc/gcc/cp/pt.cc:8743
0xf5ae96 coerce_template_parms(tree_node*, tree_node*, tree_node*, int, bool)
/home/mpolacek/src/gcc/gcc/cp/pt.cc:9048
0xf5da66 lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
/home/mpolacek/src/gcc/gcc/cp/pt.cc:9915
0xff293e finish_template_type(tree_node*, tree_node*, int)
/home/mpolacek/src/gcc/gcc/cp/semantics.cc:3773
0xed3c33 cp_parser_template_id
/home/mpolacek/src/gcc/gcc/cp/parser.cc:18472
0xee3497 cp_parser_class_name
/home/mpolacek/src/gcc/gcc/cp/parser.cc:25976
0xebabb8 cp_parser_qualifying_entity
/home/mpolacek/src/gcc/gcc/cp/parser.cc:7239
0xeba086 cp_parser_nested_name_specifier_opt
/home/mpolacek/src/gcc/gcc/cp/parser.cc:6921
0xed6888 cp_parser_simple_type_specifier
/home/mpolacek/src/gcc/gcc/cp/parser.cc:19913
0xebbeac cp_parser_postfix_expression
/home/mpolacek/src/gcc/gcc/cp/parser.cc:7696
0xebfbe7 cp_parser_unary_expression
/home/mpolacek/src/gcc/gcc/cp/parser.cc:9138
0xec1191 cp_parser_cast_expression
/home/mpolacek/src/gcc/gcc/cp/parser.cc:10044
0xec127f cp_parser_binary_expression
/home/mpolacek/src/gcc/gcc/cp/parser.cc:10147
0xec22ab cp_parser_assignment_expression
/home/mpolacek/src/gcc/gcc/cp/parser.cc:10490
0xec2aca cp_parser_constant_expression
/home/mpolacek/src/gcc/gcc/cp/parser.cc:10785
0xed0359 cp_parser_static_assert
/home/mpolacek/src/gcc/gcc/cp/parser.cc:16386
0xecdfb0 cp_parser_block_declaration
/home/mpolacek/src/gcc/gcc/cp/parser.cc:15195
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [11/12/13/14 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2023-01-31 18:32 ` mpolacek at gcc dot gnu.org
@ 2023-07-07 10:34 ` rguenth at gcc dot gnu.org
2024-07-19 13:03 ` [Bug c++/86960] [12/13/14/15 " rguenth at gcc dot gnu.org
2024-08-30 20:40 ` mpolacek at gcc dot gnu.org
10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [12/13/14/15 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2023-07-07 10:34 ` [Bug c++/86960] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2024-07-19 13:03 ` rguenth at gcc dot gnu.org
2024-08-30 20:40 ` mpolacek at gcc dot gnu.org
10 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-07-19 13:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.5 |12.5
--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11 branch is being closed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c++/86960] [12/13/14/15 Regression] ICE on specialization of member template with fixed parameter pack
[not found] <bug-86960-4@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2024-07-19 13:03 ` [Bug c++/86960] [12/13/14/15 " rguenth at gcc dot gnu.org
@ 2024-08-30 20:40 ` mpolacek at gcc dot gnu.org
10 siblings, 0 replies; 11+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2024-08-30 20:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86960
--- Comment #19 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The ICE was fixed by r15-3195. I'm not sure it's valid code so this may be
fixed now.
^ permalink raw reply [flat|nested] 11+ messages in thread