From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7FA973857C40; Wed, 12 Aug 2020 07:15:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FA973857C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1597216501; bh=PN2SC2RDQU5mi/iSk8hatthoAc/hzhwOEnxCvc5REI4=; h=From:To:Subject:Date:From; b=n9xqAwapr/WAKOQvelu2GHXPWqC47+TNlNBch+7CXQjxP6iGTnej5pBanbYtQeSQv fMcu+iQvW9ssajWJV69jyruBhX3pw9iz8tKCu19syVbPichjuSejxLycOXDqOsvKxj SKfcpi+4MB7tGfB48b908Sj6DugoIhYsmTPKxuwA= From: "markeggleston at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96583] New: F2018 changes to get_environment_variable Date: Wed, 12 Aug 2020 07:15:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markeggleston at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter blocked target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2020 07:15:01 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96583 Bug ID: 96583 Summary: F2018 changes to get_environment_variable 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: Arguments LENGTH and STATUS shall be default integer scalars. Fortran 2018: Arguments LENGTH and STATUS shall be a scalars of type integer with a decim= al exponent range of at least four. New argument: ERRMSG (optional) shall be a default character scalar. It is an INTENT (INO= UT) argument. It is assigned a processor-dependent explanatory message if the optional argument STATUS is, or would be if present, assigned a positive va= lue. Otherwise, it is unchanged. Not currently supported by gfortran 11. --- For -std=3Df2003 and -std=3Df2008 LENGTH and STATUS arguments should be rej= ected if they are not default integer scalars, gfortran 11 produces "type mismatch in argument" error messages. For -std=3Df2018 and -std=3Dgnu LENGTH and STATUS arguments should only be = rejected if the is integer(1). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D85836 [Bug 85836] [meta-bug] Fortran 2018 support=