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++/106858] New: [12/13 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'baselink' in cp_ubsan_maybe_instrument_member_access, at cp/cp-ubsan.cc:172 Date: Tue, 06 Sep 2022 17:14:48 +0000 [thread overview] Message-ID: <bug-106858-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106858 Bug ID: 106858 Summary: [12/13 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'baselink' in cp_ubsan_maybe_instrument_member_access, at cp/cp-ubsan.cc:172 Product: gcc Version: 13.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 20211205 and 20211212 : (gcc configured with --enable-checking=yes) $ cat z1.cc class A { void f() { #pragma omp target map(this->f) ; } }; $ g++-13-20220904 -c z1.cc -fopenmp $ $ g++-13-20220904 -c z1.cc -fopenmp -fsanitize=undefined z1.cc: In member function 'void A::f()': z1.cc:5:3: internal compiler error: tree check: expected tree that contains 'decl common' structure, have 'baselink' in cp_ubsan_maybe_instrument_member_access, at cp/cp-ubsan.cc:172 5 | } | ^ 0x6fa541 tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*) ../../gcc/tree.cc:9001 0x8a0efc contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*) ../../gcc/tree.h:3634 0x8a0efc cp_ubsan_maybe_instrument_member_access ../../gcc/cp/cp-ubsan.cc:172 0x8a0efc cp_ubsan_check_member_access_r ../../gcc/cp/cp-ubsan.cc:231 0x152cac3 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) ../../gcc/tree.cc:11247 0x152d35d walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set<tree_node*, false, default_hash_traits<tree_node*> >*)) ../../gcc/tree.cc:11370 0x8a140d cp_ubsan_instrument_member_accesses(tree_node**) ../../gcc/cp/cp-ubsan.cc:268 0x891bd7 cp_genericize_tree ../../gcc/cp/cp-gimplify.cc:1792 0x891d96 cp_genericize(tree_node*) ../../gcc/cp/cp-gimplify.cc:1931 0x8eb95f finish_function(bool) ../../gcc/cp/decl.cc:18058 0xa20fb3 cp_parser_function_definition_after_declarator ../../gcc/cp/parser.cc:31480 0xa21358 cp_parser_late_parsing_for_member ../../gcc/cp/parser.cc:32444 0x9f25ca cp_parser_class_specifier ../../gcc/cp/parser.cc:26399 0x9f3a7c cp_parser_type_specifier ../../gcc/cp/parser.cc:19488 0x9f4796 cp_parser_decl_specifier_seq ../../gcc/cp/parser.cc:16038 0x9f5411 cp_parser_simple_declaration ../../gcc/cp/parser.cc:15286 0xa29c2f cp_parser_declaration ../../gcc/cp/parser.cc:15099 0xa2a758 cp_parser_translation_unit ../../gcc/cp/parser.cc:5068 0xa2a758 c_parse_file() ../../gcc/cp/parser.cc:48595 0xbbe741 c_common_parse_file() ../../gcc/c-family/c-opts.cc:1255
next reply other threads:[~2022-09-06 17:14 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-06 17:14 gscfq@t-online.de [this message] 2022-09-07 8:26 ` [Bug c++/106858] " rguenth at gcc dot gnu.org 2022-09-07 12:05 ` [Bug c++/106858] [12/13 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'baselink' in cp_ubsan_maybe_instrument_member_access, at cp/cp-ubsan.cc:172 since r12-5835-g0ab29cf0bb68960c marxin at gcc dot gnu.org 2022-09-16 12:44 ` cvs-commit at gcc dot gnu.org 2022-10-19 6:07 ` [Bug c++/106858] [12 " rguenth at gcc dot gnu.org 2022-10-19 6:08 ` rguenth at gcc dot gnu.org 2023-05-08 12:25 ` 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-106858-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).