From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6A45439551C4; Mon, 14 Jun 2021 17:22:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A45439551C4 From: "gscfq@t-online.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/101071] New: [9/10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228 Date: Mon, 14 Jun 2021 17:22:40 +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 Jun 2021 17:22:40 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101071 Bug ID: 101071 Summary: [9/10/11/12 Regression] ICE in gimplify_init_constructor, at gimplify.c:5228 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: --- With file gcc/testsuite/g++.dg/cpp0x/variadic-alias2.C and option -fno-elide-constructors, started between 20200308 and 20200412 : $ g++-8 -c variadic-alias2.C -O2 -fno-elide-constructors $ $ g++-12-20210613 -c variadic-alias2.C -O2 -fno-elide-constructors z1.cc: In function 'void test_min_filter()': z1.cc:97:3: internal compiler error: in gimplify_init_constructor, at gimplify.c:5228 97 | (void)(computed{} =3D expected{});// compiles for identical types | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xaec735 gimplify_init_constructor ../../gcc/gimplify.c:5228 0xaed305 gimplify_modify_expr_rhs ../../gcc/gimplify.c:5397 0xaf0bdc gimplify_modify_expr ../../gcc/gimplify.c:5759 0xae6b13 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc/gimplify.c:14079 0xaefdbc gimplify_target_expr ../../gcc/gimplify.c:6782 0xae6ae6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc/gimplify.c:14476 0xae9448 gimplify_stmt(tree_node**, gimple**) ../../gcc/gimplify.c:6863 0xae7646 gimplify_cleanup_point_expr ../../gcc/gimplify.c:6605 0xae7646 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc/gimplify.c:14472 0xae9448 gimplify_stmt(tree_node**, gimple**) ../../gcc/gimplify.c:6863 0xae99a1 gimplify_bind_expr ../../gcc/gimplify.c:1424 0xae74ca gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) ../../gcc/gimplify.c:14280 0xae9448 gimplify_stmt(tree_node**, gimple**) ../../gcc/gimplify.c:6863 0xaea46b gimplify_body(tree_node*, bool) ../../gcc/gimplify.c:15324 0xaea8bf gimplify_function_tree(tree_node*) ../../gcc/gimplify.c:15478 0x981ec7 cgraph_node::analyze() ../../gcc/cgraphunit.c:670 0x9847e7 analyze_functions ../../gcc/cgraphunit.c:1234 0x9851ad symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2508=