public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/96585] New: Fortran 2018 changes to get_command_argument
@ 2020-08-12  7:58 markeggleston at gcc dot gnu.org
  2023-12-18 19:48 ` [Bug fortran/96585] " 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:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96585
           Summary: Fortran 2018 changes to get_command_argument
           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 2008:

NUMBER Shall be a scalar of type INTEGER and of default kind, NUMBER ≥ 0
VALUE(Optional) Shall be a scalar of type CHARACTER and of default kind.
LENGTH(Optional) Shall be a scalar of type INTEGER and of default kind.
STATUS(Optional) Shall be a scalar of type INTEGER and of default kind.

Optional arguments are intent(out)

Fortran 2018:

NUMBER Shall be a scalar of type INTEGER and of default kind, NUMBER ≥ 0
VALUE(Optional) Shall be a scalar of type CHARACTER and of default kind.
LENGTH(Optional) shall be a scalar of type integer with a decimal exponent
range of at least four
STATUS(Optional) shall be a 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 optional argument STATUS is, or
would be if
present, assigned a positive value. Otherwise, it is unchanged.

Optional arguments are intent(out) except ERRMSG which is intent(inout)

---

Arguments LENGTH and STATUS should only be accepted with types other than
default kind if -std-f2018 or-std-gnu, integer(1) should be treated the same
way it is treated for -std=f2003 and -std=f2008.  Use of ERRMSG should only be
allowed with -std=f2018 and -std=gnu.


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/96585] Fortran 2018 changes to get_command_argument
  2020-08-12  7:58 [Bug fortran/96585] New: Fortran 2018 changes to get_command_argument markeggleston at gcc dot gnu.org
@ 2023-12-18 19:48 ` 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:48 UTC (permalink / raw)
  To: gcc-bugs

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

anlauf at gcc dot gnu.org changed:

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

--- 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:48 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:58 [Bug fortran/96585] New: Fortran 2018 changes to get_command_argument markeggleston at gcc dot gnu.org
2023-12-18 19:48 ` [Bug fortran/96585] " 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).