public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107076] New: ICE in gen_untyped_call, at config/i386/i386.md:15992
@ 2022-09-28 17:38 gscfq@t-online.de
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
0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2022-09-28 17:38 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/107076] ICE in gen_untyped_call, at config/i386/i386.md:15992
2022-09-28 17:38 [Bug c/107076] New: ICE in gen_untyped_call, at config/i386/i386.md:15992 gscfq@t-online.de
@ 2022-09-29 11:36 ` marxin at gcc dot gnu.org
2022-10-05 12:05 ` marxin at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-09-29 11:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107076
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
CC| |marxin at gcc dot gnu.org
Last reconfirmed| |2022-09-29
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, it's been there since the introduction of target_clones attribute in
r6-4443-g3b1661a9b93fe800.
I may want to take a look.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/107076] ICE in gen_untyped_call, at config/i386/i386.md:15992
2022-09-28 17:38 [Bug c/107076] New: ICE in gen_untyped_call, at config/i386/i386.md:15992 gscfq@t-online.de
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
1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-05 12:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107076
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org
Status|ASSIGNED |NEW
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Crashes here:
15992 for (i = 0; i < XVECLEN (operands[2], 0); i++)
(gdb) pp operands[2]
(parallel [])
Anyway, leaving for now as __builtin_apply is likely quite a rare construct..
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-05 12:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 17:38 [Bug c/107076] New: ICE in gen_untyped_call, at config/i386/i386.md:15992 gscfq@t-online.de
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
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).