[Bug c/97330] ice for stmt with wrong VUSE

2020-10-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97330 --- Comment #2 from David Binderman --- Flags -Werror=implicit-int and -Werror=old-style-definition seem useful. Here is another reduced test case: int a, b, d; char c, e; void f(void) { char g = c; if (b) goto h; while (d) { e =

[Bug c/97330] ice for stmt with wrong VUSE

2020-10-08 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97330 --- Comment #1 from David Binderman --- Reduced code is: typedef int a; typedef char b; int c; void d(e, f, dst, g, avail, h) int e; b *f, *dst; a g, avail; int h; { b i = *f; if (e) goto j; while (avail) { *dst = i; j: avai