public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "markeggleston at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/96584] New: f2018 changes to get_command
Date: Wed, 12 Aug 2020 07:38:26 +0000	[thread overview]
Message-ID: <bug-96584-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96584

            Bug ID: 96584
           Summary: f2018 changes to get_command
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: markeggleston at gcc dot gnu.org
            Blocks: 85836
  Target Milestone: ---

Fortran 2003 and Fortran 2008:

COMMAND(Optional) shall be of type CHARACTER and of default kind.
LENGTH (Optional) Shall be of type INTEGER and of default kind.
STATUS(Optional) Shall be of type INTEGER and of default kind.

all are intent(out)

Fortran 2018:

COMMAND(Optional) shall be of type CHARACTER and of default kind.
LENGTH (Optional) shall be scalar of type integer with a decimal exponent range
of at least four
STATUS(Optional) shall be scalar of type integer with a decimal exponent range
of at least four
ERRMSG (optional) shall be a default character scalar.  It is assigned a
processor-dependent explanatory message if the command retrieval fails.
Otherwise, it is unchanged.

all are intent(out) except ERRMSG which is intent(inout)

ERRMSG is new an is not currently supported.
---

-std=f2003 and -std=f2008

gfortran 11.0 currently correctly rejects arguments command and length with
types other than default integer

-std=f2018

gfortran 11.0 currently correctly rejects arguments command and length with
types other than default integer


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836
[Bug 85836] [meta-bug] Fortran 2018 support

             reply	other threads:[~2020-08-12  7:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-12  7:38 markeggleston at gcc dot gnu.org [this message]
2023-12-18 19:47 ` [Bug fortran/96584] " anlauf at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-96584-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).