re PR fortran/23677 (-fno-automatic does not accept legal save statements)
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. From-SVN: r104661
Showing
gcc/testsuite/gfortran.dg/save_1.f90
0 → 100644
Please
register
or
sign in
to comment