[Bug c/60291] slow compile times for any mode (-O0/-O1/-O2) on large .c source file (30MBs)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 20 20:13:00 GMT 2014
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;
}
More information about the Gcc-bugs
mailing list