From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BAD383858C53; Thu, 19 Oct 2023 17:32:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BAD383858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1697736739; bh=sQ2NcSuStO75msB/eo+YMVyp+iY2xlZJBfRRwRjdkfo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=J7GSdDbrvsoB7JUDI4lZTGRNaAzVrDujjQZJN6yfcBPRdr/Mt3h5udeUhyCZVEeqX CRCnH+zAqFIcHGmUfE8owmj2VHM7uVE9+xJr/rkG53ncO85+0TOyF4h0TJXwJtOCu5 uZ0y/h9LQxtGL6rtvp9Fh1t0foXvBC+kulTKzbO4= From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/111880] [9/10/11/12/13] False positive warning of obsolescent COMMON block with Fortran submodule Date: Thu, 19 Oct 2023 17:32:19 +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: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P5 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=3D111880 --- Comment #3 from Steve Kargl -= -- On Thu, Oct 19, 2023 at 05:20:46PM +0000, zed.three at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111880 >=20 > --- Comment #2 from zed.three at gmail dot com --- > The common block is in 'third_party_module', rather than 'foo', > unless you mean that it is visible from 'foo'? Exactly. 'not_my_code' is in the namespace for foo through use association of third_party_module.=20 It seems that trying to hide 'not_my_code' with PRIVATE or 'use third_party_module, only : some_param' in foo=20 does not mute the warning. Likely, due to -std=3Df2018 and F2018, Sec. 4.2.=