From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 41BFC38618E2; Mon, 28 Sep 2020 14:42:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 41BFC38618E2 From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/97224] [8/9/10/11 Regression] SPECCPU 2006 Gamess fails to build after g:e5a76af3a2f3324efc60b4b2778ffb29d5c377bc Date: Mon, 28 Sep 2020 14:42:23 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2020 14:42:24 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97224 --- Comment #6 from Steve Kargl -= -- On Mon, Sep 28, 2020 at 09:48:13AM +0000, tnfchris at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97224 >=20 > Bug ID: 97224 > Summary: [8/9/10/11 Regression] SPECCPU 2006 Gamess fails to > build after g:e5a76af3a2f3324efc60b4b2778ffb29d5c377bc > Product: gcc > Version: 11.0 > Status: UNCONFIRMED > Severity: normal > Priority: P3 > Component: fortran > Assignee: unassigned at gcc dot gnu.org > Reporter: tnfchris at gcc dot gnu.org > CC: kargl at gcc dot gnu.org, markeggleston at gcc dot gn= u.org > Target Milestone: --- >=20 > The benchmark fails to build after > r11-3487-ge5a76af3a2f3324efc60b4b2778ffb29d5c377bc with the following err= or: >=20 > 108 | SUBROUTINE AIMPAC(ACO,AIC,EXPON,ICENT,ITYPE,OE,OCCNO, > | 1 > ...... > 920 | COMMON /INTRFC/ FRIEND,AIMPAC,RPAC,PLTORB,MOLPLT > | 2=20=20 > Error: Global entity 'aimpac' at (1) cannot appear in a COMMON block at (= 2) > parley.fppized.f:1118:23: >=20 Without access to the source code, which was conveniently omitted, it cannot no be determined if gfortran is correct. The EBNF for COMMON is R873 common-stmt is COMMON [ / [ common-block-name ] / ] common-block-object-list [ [ , ] / [ common-block-name ] / common-block-object-list ] ... R874 common-block-object is variable-name [ ( array-spec ) ] AIMPAC is the name of a subroutine. It is not a variable-name. Unfortunately, there are 812 lines of missing code, so it is not possible to tell if AIMPAC is declared in local scope to something else, which blocks the global entity name.=