http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60291
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Won't that break with function-local statics? Those can certainly refer to other function-local static, with this patch gcc might think the other ones are unused. I mean something like: int ** foo (void) { static int a = 0; static int *b = &a; static int **c = &b; return c; }