diff options
author | Harald Anlauf <anlauf@gmx.de> | 2022-02-23 23:08:29 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-02-24 20:38:13 +0100 |
commit | 916b809fbfdd2740006270baf549bf22fe9ec3c4 (patch) | |
tree | 9d2d6e000b37e084950454f1b0f108a9a9b21625 /gcc/expr.cc | |
parent | 8645370af18979123d9e94e3ed215d23dd740721 (diff) | |
download | gcc-916b809fbfdd2740006270baf549bf22fe9ec3c4.zip gcc-916b809fbfdd2740006270baf549bf22fe9ec3c4.tar.gz gcc-916b809fbfdd2740006270baf549bf22fe9ec3c4.tar.bz2 |
Fortran: frontend code for F2018 QUIET specifier to STOP and ERROR STOP
Fortran 2018 allows for a QUIET specifier to the STOP and ERROR STOP
statements. Whilst the gfortran library code provides support for this
specifier for quite some time, the frontend implementation was missing.
gcc/fortran/ChangeLog:
PR fortran/84519
* dump-parse-tree.cc (show_code_node): Dump QUIET specifier when
present.
* match.cc (gfc_match_stopcode): Implement parsing of F2018 QUIET
specifier. F2018 stopcodes may have non-default integer kind.
* resolve.cc (gfc_resolve_code): Add checks for QUIET argument.
* trans-stmt.cc (gfc_trans_stop): Pass QUIET specifier to call of
library function.
gcc/testsuite/ChangeLog:
PR fortran/84519
* gfortran.dg/stop_1.f90: New test.
* gfortran.dg/stop_2.f: New test.
* gfortran.dg/stop_3.f90: New test.
* gfortran.dg/stop_4.f90: New test.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions