From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5DF73858D35; Mon, 25 May 2020 08:56:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5DF73858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1590396981; bh=XU017gI9L7RZQogn5+zT1nrLcSKzppM3oEq5DzZYMg4=; h=From:To:Subject:Date:From; b=QHncq8OOiBGIhsk+kUBUTYOeD8hARF7GHzRag7upULIBg+yxFUBzR6ihoJlwRXfZz xV/MxqDkjoVAe6tV+/+GhQwKKy+Jz7YfN3YaLxN1LB2KFDx0YWr6V+sojuyL+JyYVN 4NXkRmvX5FgGtFRRLmVYiHXBxb4Y6ld0E8UxXfRk= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/95311] New: [11 Regression] ICE in cp_ubsan_maybe_instrument_member_call at gcc/cp/cp-ubsan.c:136 since r11-578-g72af65b91cc2a2eb Date: Mon, 25 May 2020 08:56:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2020 08:56:21 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95311 Bug ID: 95311 Summary: [11 Regression] ICE in cp_ubsan_maybe_instrument_member_call at gcc/cp/cp-ubsan.c:136 since r11-578-g72af65b91cc2a2eb Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: jason at gcc dot gnu.org Target Milestone: --- I see the following ICE: $ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/pr63470.C -fsanitize=3Dundefined -c /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/pr63470.C: In member function =E2=80=98virtual bool FTjackSupport::m_fn1()=E2=80=99: /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/ipa/pr63470.C:45:1: inter= nal compiler error: tree check: expected class =E2=80=98expression=E2=80=99, ha= ve =E2=80=98declaration=E2=80=99 (parm_decl) in tree_operand_check, at tree.h:3794 45 | } | ^ 0x848120 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/tree.c:9736 0x6408d7 expr_check(tree_node*, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/tree.h:3465 0x6408d7 tree_operand_check(tree_node*, int, char const*, int, char const*) /home/marxin/Programming/gcc/gcc/tree.h:3794 0x6408d7 cp_ubsan_maybe_instrument_member_call(tree_node*) /home/marxin/Programming/gcc/gcc/cp/cp-ubsan.c:136 0x9a4633 cp_genericize_r /home/marxin/Programming/gcc/gcc/cp/cp-gimplify.c:1713 0x138d083 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /home/marxin/Programming/gcc/gcc/tree.c:11956 0x138d948 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /home/marxin/Programming/gcc/gcc/tree.c:12286 0x138d948 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /home/marxin/Programming/gcc/gcc/tree.c:12286 0x9a559a cp_genericize_r /home/marxin/Programming/gcc/gcc/cp/cp-gimplify.c:1785 0x138d083 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /home/marxin/Programming/gcc/gcc/tree.c:11956 0x9a5da2 cp_genericize_r /home/marxin/Programming/gcc/gcc/cp/cp-gimplify.c:1455 0x138d083 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) /home/marxin/Programming/gcc/gcc/tree.c:11956 0x9a3498 cp_genericize_tree /home/marxin/Programming/gcc/gcc/cp/cp-gimplify.c:1820 0x9a3724 cp_genericize(tree_node*) /home/marxin/Programming/gcc/gcc/cp/cp-gimplify.c:1969 0x9e5111 finish_function(bool) /home/marxin/Programming/gcc/gcc/cp/decl.c:17192 0xa9122a cp_parser_function_definition_after_declarator /home/marxin/Programming/gcc/gcc/cp/parser.c:29015 0xa92001 cp_parser_function_definition_from_specifiers_and_declarator /home/marxin/Programming/gcc/gcc/cp/parser.c:28928 0xa92001 cp_parser_init_declarator /home/marxin/Programming/gcc/gcc/cp/parser.c:20685 0xa71253 cp_parser_simple_declaration /home/marxin/Programming/gcc/gcc/cp/parser.c:13749 0xa99f47 cp_parser_declaration /home/marxin/Programming/gcc/gcc/cp/parser.c:13448 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=