public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
@ 2024-01-14 17:58 zsojka at seznam dot cz
2024-01-15 9:06 ` [Bug rtl-optimization/113390] " rguenth at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: zsojka at seznam dot cz @ 2024-01-14 17:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Bug ID: 113390
Summary: [14 Regression] ICE: in
model_update_limit_points_in_group, at
haifa-sched.cc:1986 with -O2
--param=max-sched-region-insns=200
--param=max-sched-extend-regions-iters=2
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: riscv64-unknown-linux-gnu
Created attachment 57079
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57079&action=edit
reduced testcase
Compiler output:
$ riscv64-unknown-linux-gnu-gcc -O2 --param=max-sched-region-insns=200
--param=max-sched-extend-regions-iters=2 testcase.c
during RTL pass: sched1
testcase.c: In function 'foo0':
testcase.c:45:1: internal compiler error: in
model_update_limit_points_in_group, at haifa-sched.cc:1986
45 | }
| ^
0xe95736 model_update_limit_points_in_group
/repo/gcc-trunk/gcc/haifa-sched.cc:1986
0xe95736 model_update_limit_points
/repo/gcc-trunk/gcc/haifa-sched.cc:1997
0xe95736 schedule_insn
/repo/gcc-trunk/gcc/haifa-sched.cc:4091
0x2a40c39 schedule_block(basic_block_def**, void*)
/repo/gcc-trunk/gcc/haifa-sched.cc:6915
0x1650ec4 schedule_region
/repo/gcc-trunk/gcc/sched-rgn.cc:3203
0x1650ec4 schedule_insns()
/repo/gcc-trunk/gcc/sched-rgn.cc:3525
0x165130c schedule_insns()
/repo/gcc-trunk/gcc/sched-rgn.cc:3511
0x165130c rest_of_handle_sched
/repo/gcc-trunk/gcc/sched-rgn.cc:3729
0x165130c execute
/repo/gcc-trunk/gcc/sched-rgn.cc:3839
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.
$ riscv64-unknown-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-riscv64/bin/riscv64-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-r14-7215-20240112190107-g8b447fa89d5-checking-yes-rtl-df-extra-riscv64/bin/../libexec/gcc/riscv64-unknown-linux-gnu/14.0.1/lto-wrapper
Target: riscv64-unknown-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--with-cloog --with-ppl --with-isl --with-isa-spec=2.2
--with-sysroot=/usr/riscv64-unknown-linux-gnu --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=riscv64-unknown-linux-gnu
--with-ld=/usr/bin/riscv64-unknown-linux-gnu-ld
--with-as=/usr/bin/riscv64-unknown-linux-gnu-as --disable-multilib
--disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-r14-7215-20240112190107-g8b447fa89d5-checking-yes-rtl-df-extra-riscv64
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.1 20240112 (experimental) (GCC)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
@ 2024-01-15 9:06 ` rguenth at gcc dot gnu.org
2024-02-08 16:19 ` mjires at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-15 9:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
Target Milestone|--- |14.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
2024-01-15 9:06 ` [Bug rtl-optimization/113390] " rguenth at gcc dot gnu.org
@ 2024-02-08 16:19 ` mjires at gcc dot gnu.org
2024-02-08 16:25 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mjires at gcc dot gnu.org @ 2024-02-08 16:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Michal Jireš <mjires at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-bisection |
CC| |mjires at gcc dot gnu.org,
| |pinskia at gcc dot gnu.org
--- Comment #1 from Michal Jireš <mjires at gcc dot gnu.org> ---
Bisected to r14-7114-g113475d03b0ab1.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
2024-01-15 9:06 ` [Bug rtl-optimization/113390] " rguenth at gcc dot gnu.org
2024-02-08 16:19 ` mjires at gcc dot gnu.org
@ 2024-02-08 16:25 ` pinskia at gcc dot gnu.org
2024-03-07 20:51 ` law at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-08 16:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-02-08
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Michal Jireš from comment #1)
> Bisected to r14-7114-g113475d03b0ab1.
Funny, guess a latent bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
` (2 preceding siblings ...)
2024-02-08 16:25 ` pinskia at gcc dot gnu.org
@ 2024-03-07 20:51 ` law at gcc dot gnu.org
2024-03-19 12:45 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-07 20:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
` (3 preceding siblings ...)
2024-03-07 20:51 ` law at gcc dot gnu.org
@ 2024-03-19 12:45 ` jakub at gcc dot gnu.org
2024-03-19 13:03 ` law at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2024-03-19 12:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Not sure why this is P1 when riscv*-*-* is neither primary nor secondary
target.
Of course, question is if that shouldn't change.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
` (4 preceding siblings ...)
2024-03-19 12:45 ` jakub at gcc dot gnu.org
@ 2024-03-19 13:03 ` law at gcc dot gnu.org
2024-03-26 10:48 ` rguenth at gcc dot gnu.org
2024-05-07 7:43 ` [Bug rtl-optimization/113390] [14/15 " rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-19 13:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
--- Comment #4 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Made it a P1 simply because it was likely not RISC-V specific ICE. I don't
think we're at a point where it makes sense for RISC-V to be a primary
platform, though hopefully that'll change in the relatively near future.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
` (5 preceding siblings ...)
2024-03-19 13:03 ` law at gcc dot gnu.org
@ 2024-03-26 10:48 ` rguenth at gcc dot gnu.org
2024-05-07 7:43 ` [Bug rtl-optimization/113390] [14/15 " rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-03-26 10:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rsandifo at gcc dot gnu.org
Priority|P1 |P2
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
P2, mostly because it's an uncovered latent issue and because it needs two
--param specifiers and plus we didn't hit this in real-world code.
Now, Richard Sandiford wrote the function we ICE in, so he might know what's
going on here.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/113390] [14/15 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
` (6 preceding siblings ...)
2024-03-26 10:48 ` rguenth at gcc dot gnu.org
@ 2024-05-07 7:43 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-05-07 7:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113390
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|14.0 |14.2
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 14.1 is being released, retargeting bugs to GCC 14.2.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-05-07 7:43 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-14 17:58 [Bug rtl-optimization/113390] New: [14 Regression] ICE: in model_update_limit_points_in_group, at haifa-sched.cc:1986 with -O2 --param=max-sched-region-insns=200 --param=max-sched-extend-regions-iters=2 zsojka at seznam dot cz
2024-01-15 9:06 ` [Bug rtl-optimization/113390] " rguenth at gcc dot gnu.org
2024-02-08 16:19 ` mjires at gcc dot gnu.org
2024-02-08 16:25 ` pinskia at gcc dot gnu.org
2024-03-07 20:51 ` law at gcc dot gnu.org
2024-03-19 12:45 ` jakub at gcc dot gnu.org
2024-03-19 13:03 ` law at gcc dot gnu.org
2024-03-26 10:48 ` rguenth at gcc dot gnu.org
2024-05-07 7:43 ` [Bug rtl-optimization/113390] [14/15 " rguenth 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).