public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107076] New: ICE in gen_untyped_call, at config/i386/i386.md:15992 Date: Wed, 28 Sep 2022 17:38:41 +0000 [thread overview] Message-ID: <bug-107076-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107076 Bug ID: 107076 Summary: ICE in gen_untyped_call, at config/i386/i386.md:15992 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Affects versions down to r6 : $ cat z1.c void *h (); void g (); __attribute__ ((target_clones ("default", "arch=slm"))) void f () { g (__builtin_apply(h(), __builtin_apply_args(), 0)); } $ gcc-13-20220925 -c z1.c during RTL pass: expand z1.c: In function 'f.arch_slm': z1.c:6:3: internal compiler error: Segmentation fault 6 | g (__builtin_apply(h(), __builtin_apply_args(), 0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xce3e8f crash_signal ../../gcc/toplev.cc:314 0x14a2403 gen_untyped_call(rtx_def*, rtx_def*, rtx_def*) ../../gcc/config/i386/i386.md:15992 0xff0da8 target_gen_untyped_call ../../gcc/config/i386/i386.md:16199 0x860621 expand_builtin_apply ../../gcc/builtins.cc:1750 0x86d346 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) ../../gcc/builtins.cc:7521 0x991cd0 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.cc:11689 0x99ba63 store_expr(tree_node*, rtx_def*, int, bool, bool) ../../gcc/expr.cc:6155 0x99d06e expand_assignment(tree_node*, tree_node*, bool) ../../gcc/expr.cc:5876 0x88dcc2 expand_call_stmt ../../gcc/cfgexpand.cc:2829 0x88dcc2 expand_gimple_stmt_1 ../../gcc/cfgexpand.cc:3880 0x88dcc2 expand_gimple_stmt ../../gcc/cfgexpand.cc:4044 0x892cf7 expand_gimple_basic_block ../../gcc/cfgexpand.cc:6096 0x8957be execute ../../gcc/cfgexpand.cc:6822
next reply other threads:[~2022-09-28 17:38 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-28 17:38 gscfq@t-online.de [this message] 2022-09-29 11:36 ` [Bug target/107076] " marxin at gcc dot gnu.org 2022-10-05 12:05 ` marxin 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-107076-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).