From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E9C003858D37; Sun, 10 Dec 2023 19:34:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9C003858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702236853; bh=/QP+DLQQeNi5mDQU0/rZcLdf6fqHEHItI6MfwydryUw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=D1/Ek1wOgX8wgTvBremenRNd2R+KdXA1L+FSXkcXr43jYLJGOaooBg9/boWO9sL3B UkE/TffX4RKdDfIKifubgS2Mvp2PmF8AJikwRY9woSlYREPFVaZwRy2uk5BofGiKl6 Plh8FyTW2ANyM6hBxAMSDFV2ryWCCMxfAQ/KwOOQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/111503] Issues with POINTER, OPTIONAL, CONTIGUOUS dummy arguments Date: Sun, 10 Dec 2023 19:34:13 +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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: anlauf 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=3D111503 --- Comment #3 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:99c5fa3ba6b5f54a7d632bd9da0e07dd85a4b669 commit r14-6382-g99c5fa3ba6b5f54a7d632bd9da0e07dd85a4b669 Author: Harald Anlauf Date: Fri Dec 8 13:57:31 2023 +0100 Fortran: allow NULL() for POINTER, OPTIONAL, CONTIGUOUS dummy [PR111503] gcc/fortran/ChangeLog: PR fortran/111503 * expr.cc (gfc_is_simply_contiguous): Determine characteristics= of NULL() from optional MOLD argument, otherwise treat as contiguo= us. * primary.cc (gfc_variable_attr): Derive attributes of NULL(MOL= D) from MOLD. gcc/testsuite/ChangeLog: PR fortran/111503 * gfortran.dg/contiguous_14.f90: New test.=