https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126814
Kostadin Shishmanov <kocelfc at tutanota dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kocelfc at tutanota dot com
--- Comment #9 from Kostadin Shishmanov <kocelfc at tutanota dot com> ---
The fix for this bug causes an ICE with the following testcase, just -O2 is
enough to trigger it.
during GIMPLE pass: thread
dwarf.i:5:6: internal compiler error: Segmentation fault
5 | void e(int) {
| ^
```
unsigned char a;
unsigned int b;
char *c;
char d;
void e(int) {
unsigned char *f;
int g, h;
if (h)
g = b;
f = &d + g;
e(&a - f);
c = f + 4;
for (; c <= 4;)
;
}
```