From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B55393858D39; Mon, 6 Mar 2023 16:00:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B55393858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678118412; bh=5YTv8+iwuETdDnmf1P3+hfSqIMNdg3/BjIvC1tMZjP4=; h=From:To:Subject:Date:From; b=wm0RKXHUFOK8xU3oXOh9TwTZZ1ixpyGIcGBG+4kl//ZnlC4YVhJlLyjOSuhzrOLH8 +SL/IxESh65kAoRcDgLwxAAgjTWPgMGMLlbtUvDCKNeuGlh/agxVRvulZ4plaj2dY3 RRgNw0WfyxjG0NRRTJsYFE9TVEkEeEVAyojk21og= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109042] New: [13 Regression] ICE in emit_support_tinfo_1, at cp/rtti.cc:1584 Date: Mon, 06 Mar 2023 16:00:12 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com 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 keywords 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109042 Bug ID: 109042 Summary: [13 Regression] ICE in emit_support_tinfo_1, at cp/rtti.cc:1584 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- g++ 13.0.1 20230305 snapshot (g:6aa1f40a3263741d964ef4716e85a0df5cec83b6) I= CEs when compiling the following testcase, reduced from test/CodeGenCXX/rtti-fundamental.cpp from the clang 15 test suite: namespace std { class type_info { }; } std::type_info foo () { return typeid (void); } namespace __cxxabiv1 { struct __fundamental_type_info { virtual ~__fundamental_type_info (); }; __fundamental_type_info::~__fundamental_type_info () { } } % g++-13 -c aohjjmiw.cpp : internal compiler error: in emit_support_tinfo_1, at cp/rtti.cc:1584 0x75a5ae emit_support_tinfo_1(tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp= /rtti.cc:1584 0xba1794 emit_support_tinfo_1(tree_node*) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp= /rtti.cc:1553 0xba1794 emit_support_tinfos() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp= /rtti.cc:1647 0xa428e0 c_parse_final_cleanups() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/cp= /decl2.cc:4940 0xc79e7f c_common_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-13.0.1_p20230305/work/gcc-13-20230305/gcc/c-= family/c-opts.cc:1266=