This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix LTO ICE introduced by ggc_collect patch
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 Sep 2010 17:08:34 -0700
- Subject: Re: Fix LTO ICE introduced by ggc_collect patch
- References: <20100909000520.GC21068@kam.mff.cuni.cz>
On Wed, Sep 8, 2010 at 5:05 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
> - Âfree(decl_data);
> + Âggc_free(decl_data);
> + Âreal_file_decl_data = NULL;
Should you zero real_file_count also (well maybe -1).
Thanks,
Andrew Pinski