public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111488] New: ICE ion riscv gcc.dg/vect/vect-126.c
@ 2023-09-19 21:47 rdapp at gcc dot gnu.org
2023-09-19 21:50 ` [Bug target/111488] " rdapp at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rdapp at gcc dot gnu.org @ 2023-09-19 21:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111488
Bug ID: 111488
Summary: ICE ion riscv gcc.dg/vect/vect-126.c
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: rdapp at gcc dot gnu.org
Target Milestone: ---
Target: riscv
I see an ICE in vect-126.c. A small reproducer is:
int *a[1024], b[1024];
void
f1 (void)
{
for (int i = 0; i < 1024; i++)
{
int *p = &b[0];
a[i] = p + i;
}
}
vect-126.c:18:1: internal compiler error: Segmentation fault
18 | }
| ^
0x111e61f crash_signal
../../gcc/toplev.cc:314
0xcfc91d mark_label_nuses
../../gcc/emit-rtl.cc:3755
0xcfc969 mark_label_nuses
../../gcc/emit-rtl.cc:3763
0xcfc969 mark_label_nuses
../../gcc/emit-rtl.cc:3763
0xcfc969 mark_label_nuses
../../gcc/emit-rtl.cc:3763
This happens after the splitter
(define_insn_and_split "*single_widen_fma<mode>".
At first glance it seems as if the insn sequence is corrupt as we're looking
into a <nil> value but I haven't checked further. This is likely the same
error that prevents several SPECfp testcases to build. Can investigate further
tomorrow.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/111488] ICE ion riscv gcc.dg/vect/vect-126.c
2023-09-19 21:47 [Bug target/111488] New: ICE ion riscv gcc.dg/vect/vect-126.c rdapp at gcc dot gnu.org
@ 2023-09-19 21:50 ` rdapp at gcc dot gnu.org
2023-09-19 21:58 ` patrick at rivosinc dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rdapp at gcc dot gnu.org @ 2023-09-19 21:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111488
Robin Dapp <rdapp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |juzhe.zhong at rivai dot ai
--- Comment #1 from Robin Dapp <rdapp at gcc dot gnu.org> ---
Also happens in the rvv.exp testsuite now, e.g. gather_load_run-11.c.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/111488] ICE ion riscv gcc.dg/vect/vect-126.c
2023-09-19 21:47 [Bug target/111488] New: ICE ion riscv gcc.dg/vect/vect-126.c rdapp at gcc dot gnu.org
2023-09-19 21:50 ` [Bug target/111488] " rdapp at gcc dot gnu.org
@ 2023-09-19 21:58 ` patrick at rivosinc dot com
2023-09-20 6:15 ` cvs-commit at gcc dot gnu.org
2023-11-22 6:08 ` rdapp at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: patrick at rivosinc dot com @ 2023-09-19 21:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111488
--- Comment #2 from Patrick O'Neill <patrick at rivosinc dot com> ---
Thanks for filing the PR Robin!
More info about the testsuite failures on the mailing list:
https://inbox.sourceware.org/gcc-patches/92113a4b-eba7-c63c-9ee3-f11be30d99c3@rivosinc.com/
CI listing the new failures:
https://github.com/patrick-rivos/riscv-gnu-toolchain/issues/355
All these failures have the same backtrace so they likely have the same
root-cause.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/111488] ICE ion riscv gcc.dg/vect/vect-126.c
2023-09-19 21:47 [Bug target/111488] New: ICE ion riscv gcc.dg/vect/vect-126.c rdapp at gcc dot gnu.org
2023-09-19 21:50 ` [Bug target/111488] " rdapp at gcc dot gnu.org
2023-09-19 21:58 ` patrick at rivosinc dot com
@ 2023-09-20 6:15 ` cvs-commit at gcc dot gnu.org
2023-11-22 6:08 ` rdapp at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-09-20 6:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111488
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Lehua Ding <lhtin@gcc.gnu.org>:
https://gcc.gnu.org/g:d024a31a09d18d2586769602205a60ff3afe568c
commit r14-4166-gd024a31a09d18d2586769602205a60ff3afe568c
Author: Lehua Ding <lehua.ding@rivai.ai>
Date: Wed Sep 20 13:35:16 2023 +0800
RISC-V: Fixed ICE caused by missing operand
This ICE appears in GCC compiled with -O2 flags.
PR target/111488
gcc/ChangeLog:
* config/riscv/autovec-opt.md: Add missed operand.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/111488] ICE ion riscv gcc.dg/vect/vect-126.c
2023-09-19 21:47 [Bug target/111488] New: ICE ion riscv gcc.dg/vect/vect-126.c rdapp at gcc dot gnu.org
` (2 preceding siblings ...)
2023-09-20 6:15 ` cvs-commit at gcc dot gnu.org
@ 2023-11-22 6:08 ` rdapp at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rdapp at gcc dot gnu.org @ 2023-11-22 6:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111488
Robin Dapp <rdapp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Robin Dapp <rdapp at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-11-22 6:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-19 21:47 [Bug target/111488] New: ICE ion riscv gcc.dg/vect/vect-126.c rdapp at gcc dot gnu.org
2023-09-19 21:50 ` [Bug target/111488] " rdapp at gcc dot gnu.org
2023-09-19 21:58 ` patrick at rivosinc dot com
2023-09-20 6:15 ` cvs-commit at gcc dot gnu.org
2023-11-22 6:08 ` rdapp 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).