gcc/fortran/
- decl.c (gfc_match_type): New function.
- match.h (gfc_match_type): New function.
- match.c (gfc_match_if): Special case for one-line IFs.
- gfortran.texi: Update documentation.
- parse.c (decode_statement): Invoke gfc_match_type.
gcc/testsuite/gfortran.dg/
- dec_type_print.f90: New testcase.
006943e Support TYPE as alias for PRINT with -fdec.
gcc/fortran/ChangeLog | 8 +++
gcc/fortran/decl.c | 94 ++++++++++++++++++++++++++
gcc/fortran/gfortran.texi | 16 +++++
gcc/fortran/match.c | 3 +
gcc/fortran/match.h | 1 +
gcc/fortran/parse.c | 6 ++
gcc/testsuite/ChangeLog | 8 ++-
gcc/testsuite/gfortran.dg/dec_type_print.f90 | 84 +++++++++++++++++++++++
8 files changed, 218 insertions(+), 2 deletions(-)
Upstream: gcc.gnu.org