OSDN Git Service

PR fortran/23677
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2005 20:06:37 +0000 (20:06 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Sep 2005 20:06:37 +0000 (20:06 +0000)
commit7f2e183b3f69bc689f579acf304ab76a8627d6af
treee2d56418b775f560e8f4f39554652bf96430a511
parentd3eb23fbe92790268582002b677110fc2bbd449c
PR fortran/23677
* symbol.c (gfc_is_var_automatic): Return true if character length
is non-constant rather than constant.
* resolve.c (gfc_resolve): Don't handle !gfc_option.flag_automatic
here.
* options.c (gfc_post_options): Set gfc_option.flag_max_stack_var_size
to 0 for -fno-automatic.

* gfortran.fortran-torture/execute/save_1.f90: New test.
* gfortran.dg/save_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104661 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/options.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/save_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.fortran-torture/execute/save_1.f90 [new file with mode: 0644]