From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 99AD1393D034; Tue, 1 Dec 2020 10:58:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 99AD1393D034 From: "drikosev at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/98016] Host association problem Date: Tue, 01 Dec 2020 10:58:11 +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: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: drikosev at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pault 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 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: Tue, 01 Dec 2020 10:58:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98016 --- Comment #7 from Ev Drikos --- Created attachment 49659 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D49659&action=3Dedit attachment for pr98016-07 (In reply to Paul Thomas from comment #6) > Created attachment 49645 [details] > Fix for the PR >=20 > Unless there are objections, ... Not an objection, rather just an observation: 1. This code is inside "resolve_symbol" and the following double declaration seems redundant: bool saved_specification_expr The reason I'm mentioning it is that I debugged the example with gcc-4.8 and the debugger makes this call: gfc_resolve_array_spec (sym->as, check_constant) So, the declaration below could be at the top of the function declarations like the code below=