From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1A6FC384B12C; Thu, 27 Oct 2022 21:11:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A6FC384B12C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666905069; bh=o5s2ctUcpjvrt+ZUuC1IKJyvTgFtndpCAtsy4PicXi0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UUz83vv/A4sdlPX5u8biyDjkN2kjNYBDTZk4EE78/ZuW6Q2Bgq6xG9xGQZ6Dr/C+5 sKrA1mHO6IWzW/dgNDkabERCqPvmP/6nc/Rz4tLDYW4YDxTvuOBegmEQoi08aPJh2w BcoGeiHuUmvYP1dBK4z8cmmqzSXineI0AnCHHaik= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107441] optional arguments are identified as "present" when missing Date: Thu, 27 Oct 2022 21:11:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 12.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107441 --- Comment #8 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #7) > However, while working on variations of the testcase, I hit an ICE for: >=20 > subroutine test3 (w) > character, intent(in), value, optional :: w > print*, 'present(w) is ', present(w) > end subroutine test3 >=20 > It is not new, though. This is now tracked in PR107444.=