Re: [patch] Patch to fix garbage collection problem with cgraph_fnver_htab

2013-10-24 Thread Jan Hubicka
> Hi Honza, > > It looks like cgraph_fnver_htab defined in cgraph.c is not added > to gc root in gt-cgraph.h. This patch fixes it. > > * cgraph.c (cgraph_fnver_htab): Move GTY((...)) to be before htab_t. > Change param_is to use > the struct and not the pointer to the struct. OK, thanks! Hon

[patch] Patch to fix garbage collection problem with cgraph_fnver_htab

2013-10-24 Thread Sriraman Tallam
Hi Honza, It looks like cgraph_fnver_htab defined in cgraph.c is not added to gc root in gt-cgraph.h. This patch fixes it. * cgraph.c (cgraph_fnver_htab): Move GTY((...)) to be before htab_t. Change param_is to use the struct and not the pointer to the struct. Index: gcc/cgraph.c ===