From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 73371385E037; Thu, 30 Nov 2023 21:21:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73371385E037 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701379309; bh=GjIkTGDlDoxnEb+ycCajBoYFUtMPFCvW9KmeYDNZLSs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ddNYHmvJNk65sR3u3J7YON7R/gwhAn6AmXkJLzSOZoF1xBBJRotkldhASqplqKnyG l3R3Fkc6DiFYiGPq+jnSs5qhPaOQyoIfsyXc08lUw25YTuuuWE270rB2aHYTUfoAvB /5mnTPPuVIP2QMDWsrSxTmmttW03w2sj8u7gv4Gs= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/111880] [11/12/13/14] False positive warning of obsolescent COMMON block with Fortran submodule Date: Thu, 30 Nov 2023 21:21:49 +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: 13.2.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: anlauf at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 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=3D111880 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ff96ddf43bcfe5c37a85118a68dcac87ce33c8d9 commit r13-8111-gff96ddf43bcfe5c37a85118a68dcac87ce33c8d9 Author: Harald Anlauf Date: Thu Nov 23 22:48:38 2023 +0100 Fortran: avoid obsolescence warning for COMMON with submodule [PR111880] gcc/fortran/ChangeLog: PR fortran/111880 * resolve.cc (resolve_common_vars): Do not call gfc_add_in_comm= on for symbols that are USE associated or used in a submodule. gcc/testsuite/ChangeLog: PR fortran/111880 * gfortran.dg/pr111880.f90: New test. (cherry picked from commit c9d029ba2ceb435e31492c1f3f0fd3edf0e386be)=