public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias @ 2021-08-12 14:31 reichelt at gcc dot gnu.org 2021-08-12 14:35 ` [Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 marxin at gcc dot gnu.org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: reichelt at gcc dot gnu.org @ 2021-08-12 14:31 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Bug ID: 101881 Summary: [9/10/11/12 Regression] ICE with vector type in template alias Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: reichelt at gcc dot gnu.org Target Milestone: --- The following valid code snippet triggers an ICE since GCC 7.1.0: ================================================================= template<int N> using A = int __attribute__((vector_size(N)))*; void foo(A<4>) {} ================================================================= bug.cc:3:6: internal compiler error: in add_substitution, at cp/mangle.c:462 void foo(A<4>) {} ^~~ 0x8014a5 add_substitution ../../gcc-7.5.0/gcc/cp/mangle.c:461 0x7fa97b write_type ../../gcc-7.5.0/gcc/cp/mangle.c:2413 0x7fd114 write_method_parms ../../gcc-7.5.0/gcc/cp/mangle.c:2828 0x7fd3f6 write_bare_function_type ../../gcc-7.5.0/gcc/cp/mangle.c:2764 0x80505c mangle_decl_string ../../gcc-7.5.0/gcc/cp/mangle.c:3821 0x8053c3 get_mangled_id ../../gcc-7.5.0/gcc/cp/mangle.c:3843 0x8053c3 mangle_decl(tree_node*) ../../gcc-7.5.0/gcc/cp/mangle.c:3913 0x102833e decl_assembler_name(tree_node*) ../../gcc-7.5.0/gcc/tree.c:671 0x1077ac7 notice_global_symbol(tree_node*) ../../gcc-7.5.0/gcc/varasm.c:1656 0x96fdd9 cgraph_node::finalize_function(tree_node*, bool) ../../gcc-7.5.0/gcc/cgraphunit.c:442 0x7b5e9f expand_or_defer_fn(tree_node*) ../../gcc-7.5.0/gcc/cp/semantics.c:4321 0x74a3a9 cp_parser_function_definition_after_declarator ../../gcc-7.5.0/gcc/cp/parser.c:26468 0x74b07e cp_parser_function_definition_from_specifiers_and_declarator ../../gcc-7.5.0/gcc/cp/parser.c:26371 0x74b07e cp_parser_init_declarator ../../gcc-7.5.0/gcc/cp/parser.c:19353 0x745e3c cp_parser_simple_declaration ../../gcc-7.5.0/gcc/cp/parser.c:12886 0x746d77 cp_parser_block_declaration ../../gcc-7.5.0/gcc/cp/parser.c:12711 0x7511e4 cp_parser_declaration ../../gcc-7.5.0/gcc/cp/parser.c:12609 0x75161b cp_parser_declaration_seq_opt ../../gcc-7.5.0/gcc/cp/parser.c:12485 0x751902 cp_parser_translation_unit ../../gcc-7.5.0/gcc/cp/parser.c:4368 0x751902 c_parse_file() ../../gcc-7.5.0/gcc/cp/parser.c:38643 Please submit a full bug report, [etc.] This is related to PR 83997, but without -flto. And we have a regression. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 2021-08-12 14:31 [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias reichelt at gcc dot gnu.org @ 2021-08-12 14:35 ` marxin at gcc dot gnu.org 2021-08-16 8:55 ` rguenth at gcc dot gnu.org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: marxin at gcc dot gnu.org @ 2021-08-12 14:35 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[9/10/11/12 Regression] ICE |[9/10/11/12 Regression] ICE |with vector type in |with vector type in |template alias |template alias since | |r7-2549-gf3365c1201908df5 CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2021-08-12 Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed, started with r7-2549-gf3365c1201908df5. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 2021-08-12 14:31 [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias reichelt at gcc dot gnu.org 2021-08-12 14:35 ` [Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 marxin at gcc dot gnu.org @ 2021-08-16 8:55 ` rguenth at gcc dot gnu.org 2022-01-17 13:55 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2021-08-16 8:55 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |9.5 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 2021-08-12 14:31 [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias reichelt at gcc dot gnu.org 2021-08-12 14:35 ` [Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 marxin at gcc dot gnu.org 2021-08-16 8:55 ` rguenth at gcc dot gnu.org @ 2022-01-17 13:55 ` rguenth at gcc dot gnu.org 2022-05-27 9:46 ` [Bug c++/101881] [10/11/12/13 " rguenth at gcc dot gnu.org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-01-17 13:55 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/101881] [10/11/12/13 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 2021-08-12 14:31 [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias reichelt at gcc dot gnu.org ` (2 preceding siblings ...) 2022-01-17 13:55 ` rguenth at gcc dot gnu.org @ 2022-05-27 9:46 ` rguenth at gcc dot gnu.org 2022-06-28 10:45 ` jakub at gcc dot gnu.org 2023-07-07 10:40 ` [Bug c++/101881] [11/12/13/14 " rguenth at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-05-27 9:46 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|9.5 |10.4 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 9 branch is being closed ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/101881] [10/11/12/13 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 2021-08-12 14:31 [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias reichelt at gcc dot gnu.org ` (3 preceding siblings ...) 2022-05-27 9:46 ` [Bug c++/101881] [10/11/12/13 " rguenth at gcc dot gnu.org @ 2022-06-28 10:45 ` jakub at gcc dot gnu.org 2023-07-07 10:40 ` [Bug c++/101881] [11/12/13/14 " rguenth at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu.org @ 2022-06-28 10:45 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.4 |10.5 --- Comment #3 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] 7+ messages in thread
* [Bug c++/101881] [11/12/13/14 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 2021-08-12 14:31 [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias reichelt at gcc dot gnu.org ` (4 preceding siblings ...) 2022-06-28 10:45 ` jakub at gcc dot gnu.org @ 2023-07-07 10:40 ` rguenth at gcc dot gnu.org 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu.org @ 2023-07-07 10:40 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101881 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|10.5 |11.5 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC 10 branch is being closed. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-07-07 10:40 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-08-12 14:31 [Bug c++/101881] New: [9/10/11/12 Regression] ICE with vector type in template alias reichelt at gcc dot gnu.org 2021-08-12 14:35 ` [Bug c++/101881] [9/10/11/12 Regression] ICE with vector type in template alias since r7-2549-gf3365c1201908df5 marxin at gcc dot gnu.org 2021-08-16 8:55 ` rguenth at gcc dot gnu.org 2022-01-17 13:55 ` rguenth at gcc dot gnu.org 2022-05-27 9:46 ` [Bug c++/101881] [10/11/12/13 " rguenth at gcc dot gnu.org 2022-06-28 10:45 ` jakub at gcc dot gnu.org 2023-07-07 10:40 ` [Bug c++/101881] [11/12/13/14 " 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).