This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR fortran/37992 ICE while resolving charlen for rejected statements


Mikael Morin wrote:
> regression tested on x86_64-unknown-linux-gnu.
>   
OK. Thanks for the patch and sorry for the late review.

Tobias

> 2008-11-05  Mikael Morin  <mikael.morin@tele2.fr>
>
> 	PR fortran/37992
> 	* gfortran.h (gfc_namespace): Added member old_cl_list, backup of cl_list.
> 	(gfc_free_charlen): Added prototype.
> 	* symbol.c (gfc_free_charlen): New function.
> 	(gfc_free_namespace): Use gfc_free_charlen.
> 	* parse.c (next_statement): Backup gfc_current_ns->cl_list.
> 	(reject_statement): Restore gfc_current_ns->cl_list.
> 	Free cl_list's elements before dropping them.
> 	
>
> 2008-11-05  Mikael Morin  <mikael.morin@tele2.fr>
>
> 	PR fortran/37992
> 	* gfotran.dg/charlen_free_1.f90: New test.
>
>   


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]