[Bug c/105597] ice in type, at value-range.h:223
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 13 17:21:01 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105597
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
Reduced C code seems to be:
typedef struct {
int allocated;
} vvec;
int vvneeds_want, mgpssort;
void vvinit(vvec *v, int minelems) { v->allocated = -minelems; }
void vvneeds(vvec *v, int needed) {
if (needed > v->allocated)
if (v->allocated < 0)
;
else {
int next = v->allocated + (v->allocated >> 1);
vvneeds_want = next;
}
}
void mgpssort_1() {
vvinit(&mgpssort, mgpssort_1);
vvneeds(&mgpssort, mgpssort_1);
}
More information about the Gcc-bugs
mailing list