https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98758
Bug ID: 98758
Summary: ice in lambda_matrix_right_hermite
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
For this C code:
long *a, *b;
long c;
void d(void) {
b = a;
while (c) {
*a = a += (long)1 << 54;
c = b[0];
b = a;
}
}
compiled with recent gcc and compiler flag -O3 does this:
bug693.c:3:6: internal compiler error: in abs_hwi, at hwint.h:324
3 | void d(void) {
| ^
0x18fbeed lambda_matrix_right_hermite(long**, int, int, long**, long**)
../../trunk.git/gcc/wide-int.h:0
0x18fbeed analyze_subscript_affine_affine(tree_node*, tree_node*,
conflict_funct
ion**, conflict_function**, tree_node**)
../../trunk.git/gcc/tree-data-ref.c:4413
0x18f980d analyze_siv_subscript(tree_node*, tree_node*, conflict_function**,
con
flict_function**, tree_node**, int)
../../trunk.git/gcc/tree-data-ref.c:4669
0x18f980d analyze_overlapping_iterations(tree_node*, tree_node*,
conflict_functi
on**, conflict_function**, tree_node**, loop*)
../../trunk.git/gcc/tree-data-ref.c:4915
The bug first seems to occur sometime from date 20210113 to 20210114.
Git hashes are 3ddc18251a821fe6 and aa3d33dccb57621b.
I'll have a go at running a git bisect tomorrow. There are 31 commits
to be bisected. In that range, only Richard's commit
2182274f510c180ea92a4f826a0f6cf5f1f55b66 mentions source code file
tree-data-ref.c, so that looks a hot candidate.