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 <bur...@net-b.de> > Jakub Jelinek <ja...@redhat.com> > Janus Weil <ja...@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 <bur...@net-b.de> > > PR fortran/55733 > * gfortran.dg/save_5.f90: New. Jakub