[Bug c++/22139] [4.0/4.1 regression] Segfault

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 21 23:07:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-21 23:07 -------
(In reply to comment #12)
> This was most likely caused by:
> 2004-12-30  Mark Mitchell  <mark@codesourcery.com>
> 
>         * decl.c (duplicate_decls): Call ggc_free on declarations we will
>         not be needing any longer.
> 
> The FUNCTION_DECL is still referenced for some reason after the ggc_free.

In fact commenting out the ggc_free, this works again so it has to be this patch as this is the same as 
reverting the patch.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmitchel at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22139



More information about the Gcc-bugs mailing list