From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3E3E1385840F; Thu, 30 Nov 2023 20:48:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E3E1385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701377293; bh=0k+12oDhdOgOQVYFmdLcscv8HKyKDxsO0VWF+PHud2g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=e5m4R3JogXhwE2+Jf0vJMDaiJrqkLJ56aofZ/8lFQFIeWjbFdFJAKLbE8c3UroLx9 LeneBLXogGNxvfT3MHcFh2yzhgF+os5i2kjdWuxsgYzDfiM4ynImx14hwYg0f2HVLO O5/tVLdyjdm0iAvquPYqrVeBqKW9T0S+o0aZlt6c= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/112772] Some issues with OPTIONAL, ALLOCATABLE dummy arguments Date: Thu, 30 Nov 2023 20:48:12 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf 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: attachments.created 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=3D112772 --- Comment #1 from anlauf at gcc dot gnu.org --- Created attachment 56736 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56736&action=3Dedit Fix for testcase 1 The attached rather obvious patch fixes the copy-out issue for class dummies and regtests ok.=