[patch, fortran] Factorize symbol refcounting.

Mikael Morin mikael.morin@sfr.fr
Thu Jul 29 14:37:00 GMT 2010


Hello,

this takes the symbol reference count management code from free_sym_tree 
into its own function so that it can be shared.

I have made the gfc_internal_error (in case reference count becomes 
negative) a gcc_assert as the error message was not very 
informative/useful from a user point of view.

OK for trunk when regression test finishes ?

Mikael
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: release_symbol.log
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100729/8a1c0143/attachment.log>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: release_symbol.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100729/8a1c0143/attachment.ksh>


More information about the Fortran mailing list