From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5A7E03851C35; Thu, 20 Oct 2022 08:30:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A7E03851C35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666254633; bh=Jn2VAPQ4STBgkMA+2oC7sBN0yg3MezkpxmqQ2Y0QI7w=; h=From:To:Subject:Date:From; b=tdeySIP7mA+dVizRLAHRgHSA8qcsV40IcC3CwN0eilrXEo6yeg+z1crERtoTNEdoR RMiZtOoFwi+pMTxL89e5ylenW+5JKe9TvCoedZdx0vXo7PAc7tFMdDTF5nF0XhMwgU CnrRIv4TzQ7KcmC/8rD4KSYip8kvuvES7+ZMIQDM= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107329] New: [13 Regression] ICE in gimplify_expr, at gimplify.cc:17118 since r13-2978-g43faf3e5445b5717 Date: Thu, 20 Oct 2022 08:30:29 +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: 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 keywords 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107329 Bug ID: 107329 Summary: [13 Regression] ICE in gimplify_expr, at gimplify.cc:17118 since r13-2978-g43faf3e5445b5717 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: marxin at gcc dot gnu.org CC: jason at gcc dot gnu.org Target Milestone: --- The following crashes: $ cat oorexx.ii struct RexxClass { void *operator new(unsigned long, unsigned long, const char *, RexxClass = *, RexxClass *); void operator delete(void *, unsigned long, const char *, RexxClass *, RexxClass *); RexxClass(); }; void createInstance() { new (sizeof(RexxClass), "", 0, 0) RexxClass; } $ g++ oorexx.ii -c oorexx.ii: In function =E2=80=98void createInstance()=E2=80=99: oorexx.ii:8:59: internal compiler error: in gimplify_expr, at gimplify.cc:1= 7164 8 | void createInstance() { new (sizeof(RexxClass), "", 0, 0) RexxClass= ; } | ^~~~~~~~~ 0x83c8f6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marxin/Programming/gcc/gcc/gimplify.cc:17164 0xfbd5a2 gimplify_expr /home/marxin/Programming/gcc/gcc/gimplify.cc:17416 0xfbd5a2 gimplify_arg(tree_node**, gimple**, unsigned int, bool) /home/marxin/Programming/gcc/gcc/gimplify.cc:3504 0xfbdca4 gimplify_call_expr /home/marxin/Programming/gcc/gcc/gimplify.cc:3786 0xfaeadf gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marxin/Programming/gcc/gcc/gimplify.cc:16326 0xfb060c gimplify_stmt(tree_node**, gimple**) /home/marxin/Programming/gcc/gcc/gimplify.cc:7213 0xfb5077 gimplify_cond_expr /home/marxin/Programming/gcc/gcc/gimplify.cc:4540 0xfaea72 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marxin/Programming/gcc/gcc/gimplify.cc:16311 0xfb060c gimplify_stmt(tree_node**, gimple**) /home/marxin/Programming/gcc/gcc/gimplify.cc:7213 0xfb23de gimple_push_cleanup /home/marxin/Programming/gcc/gcc/gimplify.cc:7082 0xfc1364 gimplify_target_expr /home/marxin/Programming/gcc/gcc/gimplify.cc:7184 0xfaeb5c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marxin/Programming/gcc/gcc/gimplify.cc:16751 0xfb060c gimplify_stmt(tree_node**, gimple**) /home/marxin/Programming/gcc/gcc/gimplify.cc:7213 0xfb0eb3 gimplify_compound_expr /home/marxin/Programming/gcc/gcc/gimplify.cc:6406 0xfb0f59 gimplify_compound_expr /home/marxin/Programming/gcc/gcc/gimplify.cc:6404 0xfae79d gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marxin/Programming/gcc/gcc/gimplify.cc:16344 0xfb060c gimplify_stmt(tree_node**, gimple**) /home/marxin/Programming/gcc/gcc/gimplify.cc:7213 0xfae942 gimplify_cleanup_point_expr /home/marxin/Programming/gcc/gcc/gimplify.cc:6954 0xfae942 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*= ), int) /home/marxin/Programming/gcc/gcc/gimplify.cc:16747 0xfb060c gimplify_stmt(tree_node**, gimple**) /home/marxin/Programming/gcc/gcc/gimplify.cc:7213 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions.=