[Fortran, (RFC) patch] PR49110/51055 Assignment to alloc. deferred-length character vars

Jakub Jelinek jakub@redhat.com
Tue Dec 18 23:21:00 GMT 2012


On Tue, Dec 18, 2012 at 10:38:06PM +0100, Tobias Burnus wrote:
> Updated patch attached. Build and regtested on x86-64-gnu-linux.
> OK for the trunk?

Looks ok to me, thanks.

> 2012-12-11  Tobias Burnus  <burnus@net-b.de>
> 	    Jakub Jelinek  <jakub@redhat.com>
> 	    Janus Weil  <janus@gcc.gnu.org>
> 
> 	PR fortran/55636
> 	PR fortran/55733
> 	* gfortran.h (GFC_PREFIX): Define.
> 	* trans-decl.c (gfc_create_string_length): For VAR_DECLs that
> 	will be TREE_STATIC, use GFC_PREFIX to mangle the names. Handle
> 	-fno-automatic
> 	(gfc_trans_deferred_vars): Don't free variables SAVEd via
> 	-fno-automatic.
> 
> 2012-12-11  Tobias Burnus  <burnus@net-b.de>
> 
> 	PR fortran/55733
> 	* gfortran.dg/save_5.f90: New.

	Jakub



More information about the Gcc-patches mailing list