From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5BE053858D3C; Mon, 14 Feb 2022 19:55:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BE053858D3C From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104533] New: [12 Regression] ICE in update_vtable_references, at ipa-visibility.cc:383 Date: Mon, 14 Feb 2022 19:55:11 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de 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 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, 14 Feb 2022 19:55:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104533 Bug ID: 104533 Summary: [12 Regression] ICE in update_vtable_references, at ipa-visibility.cc:383 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: --- Started between 20211114 and 20211121 : $ cat z1.cc struct B { virtual ~B(); }; __attribute__((target_clones("avx"))) B::~B() =3D default; $ cat z2.cc struct B { virtual ~B(); }; __attribute__((target_clones("sse","avx"))) B::~B() =3D default; $ g++-12-20220213 -c z1.cc -fPIC -Ofast during IPA pass: visibility z1.cc:5:18: internal compiler error: Segmentation fault 5 | B::~B() =3D default; | ^ 0xda1fdf crash_signal ../../gcc/toplev.cc:322 0x19be64f update_vtable_references ../../gcc/ipa-visibility.cc:383 0x1029952 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 >*)) ../../gcc/tree.cc:11070 0x1029b9c 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 >*)) ../../gcc/tree.cc:11157 0x19bf549 function_and_variable_visibility ../../gcc/ipa-visibility.cc:868=