public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/102593] New: [10/11/12 Regression] ICE in cp_oacc_check_attachments, at cp/semantics.c:6561 Date: Mon, 04 Oct 2021 18:39:11 +0000 [thread overview] Message-ID: <bug-102593-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102593 Bug ID: 102593 Summary: [10/11/12 Regression] ICE in cp_oacc_check_attachments, at cp/semantics.c:6561 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: --- Changed between 20191215 and 20200105 : $ cat z1.cc template <class> void f () { struct t { int a; }; #pragma acc data detach (t.a) ; } $ g++-12-20211003 -c z1.cc -fopenacc z1.cc: In function 'void f()': z1.cc:5:32: internal compiler error: Segmentation fault 5 | #pragma acc data detach (t.a) | ^ 0xe17d4f crash_signal ../../gcc/toplev.c:331 0x8f6da6 cp_oacc_check_attachments ../../gcc/cp/semantics.c:6561 0x90842a finish_omp_clauses(tree_node*, c_omp_region_type) ../../gcc/cp/semantics.c:7850 0x897fb4 cp_parser_oacc_all_clauses ../../gcc/cp/parser.c:39710 0x8b3009 cp_parser_oacc_data ../../gcc/cp/parser.c:44231 0x8b3009 cp_parser_omp_construct ../../gcc/cp/parser.c:46870 0x8897b9 cp_parser_pragma ../../gcc/cp/parser.c:47594 0x8905b7 cp_parser_statement ../../gcc/cp/parser.c:12266 0x8913d4 cp_parser_statement_seq_opt ../../gcc/cp/parser.c:12722 0x89148f cp_parser_compound_statement ../../gcc/cp/parser.c:12671 0x8af888 cp_parser_function_body ../../gcc/cp/parser.c:24902 0x8af888 cp_parser_ctor_initializer_opt_and_function_body ../../gcc/cp/parser.c:24953 0x8afd36 cp_parser_function_definition_after_declarator ../../gcc/cp/parser.c:31083 0x8b0c57 cp_parser_function_definition_from_specifiers_and_declarator ../../gcc/cp/parser.c:30999 0x8b0c57 cp_parser_init_declarator ../../gcc/cp/parser.c:22436 0x8b35b6 cp_parser_single_declaration ../../gcc/cp/parser.c:31586 0x8b37d5 cp_parser_template_declaration_after_parameters ../../gcc/cp/parser.c:31151 0x8b3f9b cp_parser_explicit_template_declaration ../../gcc/cp/parser.c:31417 0x8b3f9b cp_parser_template_declaration_after_export ../../gcc/cp/parser.c:31436 0x8b61f9 cp_parser_declaration ../../gcc/cp/parser.c:14759
next reply other threads:[~2021-10-04 18:39 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-04 18:39 gscfq@t-online.de [this message] 2021-10-04 20:59 ` [Bug c++/102593] " pinskia at gcc dot gnu.org 2021-10-05 6:44 ` rguenth at gcc dot gnu.org 2021-10-11 8:12 ` [Bug c++/102593] [10/11/12 Regression] ICE in cp_oacc_check_attachments, at cp/semantics.c:6561 since r10-5596-g519d7496beac32c2 marxin at gcc dot gnu.org 2022-04-05 19:43 ` jason at gcc dot gnu.org 2022-06-28 10:46 ` [Bug c++/102593] [10/11/12/13 " jakub at gcc dot gnu.org 2023-07-07 10:41 ` [Bug c++/102593] [11/12/13/14 " rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-102593-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).