Support legacy PARAMETER statements with -std=legacy.
gcc/fortran/ * decl.c (gfc_match_parameter): Allow omitted '()' with -std=legacy. * parse.c (decode_statement): Match "parameter" before assignments. * gfortran.texi: Document. gcc/testsuite/gfortran.dg/ * dec_parameter_1.f: New test. * dec_parameter_2.f90: Likewise. * dec_parameter_3.f90: Likewise. * dec_parameter_4.f90: Likewise. From-SVN: r241823
Showing
gcc/testsuite/gfortran.dg/dec_parameter_1.f
0 → 100644
Please
register
or
sign in
to comment