public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/96584] New: f2018 changes to get_command
@ 2020-08-12  7:38 markeggleston at gcc dot gnu.org
  2023-12-18 19:47 ` [Bug fortran/96584] " anlauf at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: markeggleston at gcc dot gnu.org @ 2020-08-12  7:38 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug fortran/96584] f2018 changes to get_command
  2020-08-12  7:38 [Bug fortran/96584] New: f2018 changes to get_command markeggleston at gcc dot gnu.org
@ 2023-12-18 19:47 ` anlauf at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-12-18 19:47 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-12-18
                 CC|                            |anlauf at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-18 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12  7:38 [Bug fortran/96584] New: f2018 changes to get_command markeggleston at gcc dot gnu.org
2023-12-18 19:47 ` [Bug fortran/96584] " anlauf at gcc dot gnu.org

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).