public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.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 [thread overview] Message-ID: <bug-107329-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107329 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 ‘void createInstance()’: oorexx.ii:8:59: internal compiler error: in gimplify_expr, at gimplify.cc:17164 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 <https://gcc.gnu.org/bugs/> for instructions.
next reply other threads:[~2022-10-20 8:30 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-20 8:30 marxin at gcc dot gnu.org [this message] 2022-10-20 8:30 ` [Bug c++/107329] " marxin at gcc dot gnu.org 2022-11-23 12:50 ` marxin at gcc dot gnu.org 2023-01-23 21:35 ` jason at gcc dot gnu.org 2023-01-24 3:26 ` cvs-commit at gcc dot gnu.org 2023-01-24 3:27 ` jason at gcc dot gnu.org 2023-01-24 23:14 ` cvs-commit at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-107329-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).