[PATCH] Fix -fno-automatic with variable length arrays (PR fortran/28415)

Jakub Jelinek jakub@redhat.com
Thu Oct 5 16:42:00 GMT 2006


On Thu, Oct 05, 2006 at 12:38:47PM -0400, Jakub Jelinek wrote:
> Ok for trunk?

And 4.1 too?  Apparently it suffers the same problem.

> 2006-10-05  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR fortran/28415
> 	* trans-decl.c (gfc_finish_var_decl): With -fno-automatic, don't
> 	make artificial variables or pointer to variable automatic array
> 	TREE_STATIC.
> 
> 	* gfortran.dg/pr28415.f90: New test.

	Jakub



More information about the Fortran mailing list