https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95804
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to bin cheng from comment #2)
> Whew, this part IS can of worms. Will investigate it.
Great. The testcase I provided came from a C source code generator
called ccg.
Here is another C test case which produces the same compiler crash with -O3:
$ more bug625.c
int a, b, c, d, e, f;
void g() {
short *h = d;
char *i = &b;
for (; e; e++) {
for (; f; f++) {
b = 3;
if ((c = 8) >= *i)
a = 5 ? *h : 0;
h = g;
}
i = &c;
}
}