This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix -fno-automatic with variable length arrays (PR fortran/28415)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 5 Oct 2006 12:42:10 -0400
- Subject: Re: [PATCH] Fix -fno-automatic with variable length arrays (PR fortran/28415)
- References: <20061005163847.GG20982@devserv.devel.redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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