[Patch, fortran] PR 42051 : Access to freed symbols.

Mikael Morin mikael.morin@sfr.fr
Thu Jul 29 11:23:00 GMT 2010


Le 29.07.2010 08:29, Tobias Burnus a écrit :
>
> Mikael Morin wrote:
>> This patch fixes the PRs 42051&  44064, where symbols were freed to soon.
>> As explained in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42051#c13,
>> gfc_find_derived_vtab was creating new symbols but was not committing
>> them, so that they were removed at the next gfc_undo_symbols call.
>> The fix is obvious: commit the symbols.
>>
>> Regression testing in progress. OK for trunk when done ?
>
> OK. Thanks!
>
> Tobias
>
>

Sending        gcc/fortran/ChangeLog
Sending        gcc/fortran/class.c
Sending        gcc/testsuite/ChangeLog
Adding         gcc/testsuite/gfortran.dg/pr42051.f03
Transmitting file data ....
Committed revision 162674.

Thanks for looking.

Mikael



More information about the Fortran mailing list