https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112995
Bug ID: 112995
Summary: sel-sched2 ICE without checking verify_changes
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: linkw at gcc dot gnu.org
Target Milestone: ---
With selective scheduling 2 enabled by default, I failed to build gcc with
non-bootstrap on Power10, one reduced test case is listed below:
int a[];
int b(__ieee128 e) {
int c;
__ieee128 d;
c = e;
d = c;
d = a[c] + d;
return d;
}
option: -O2 -S -fselective-scheduling2 -mcpu=power10 (or -mcpu=power9)
ICE reason:
test.c:9:1: error: insn does not satisfy its constraints:
9 | }
| ^
(insn 48 0 0 (set (reg:DI 32 0)
(sign_extend:DI (reg/v:SI 64 0 [orig:119 c ] [119]))) 31 {extendsidi2}
(nil))