https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80612
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|lto |
Summary|[7/8 Regression] ICE |[7/8 Regression] ICE in
|compiling grep-3.0 and |get_range_info, at
|m4-1.4.18 with LTO |tree-ssanames.c:375
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Also happens without -flto:
markus@x4 /tmp % cat test.i
struct obstack *a;
struct obstack {
union {
void *plain;
void (*extra)();
} chunkfun;
} fn1(void p4()) {
a->chunkfun.plain = p4;
a->chunkfun.extra(a);
}
void fn2(int) __attribute__((__alloc_size__(1)));
void fn3() { fn1(fn2); }
markus@x4 /tmp % gcc -O2 test.i
test.i: In function ‘fn3’:
test.i:9:3: internal compiler error: in get_range_info, at tree-ssanames.c:375