From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8BFA9383E80F; Sun, 14 Jun 2020 12:36:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8BFA9383E80F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592138180; bh=tfDP4hhCKRS/6lCWeceQzQ3O7jrDeyMviMdp1BFgdIM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZBWZeBj+VPDGh2+dLQ4YbX/+U3B5E5WtHs6RtewSwymlW7WZrLsuDGhgMXhQDmwKq Ow85JUJPLcnRmtNA8Ua3jcuAiwpP7QsEX/Vah7GkDH7z01Ckp28CNZHA6LNFXpAsMB Dnxy1vtnAHrBYvih0z8RRVSDRCr0BEelO8dOVcqQ= From: "tkoenig at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95037] gfortran fails to compile a simple subroutine, issues an opaque message Date: Sun, 14 Jun 2020 12:36:20 +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: 9.3.0 X-Bugzilla-Keywords: error-recovery X-Bugzilla-Severity: normal X-Bugzilla-Who: tkoenig at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: tkoenig at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to 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: Sun, 14 Jun 2020 12:36:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95037 Thomas Koenig changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot = gnu.org --- Comment #2 from Thomas Koenig --- (In reply to kargl from comment #1) > Do not dereference a NULL pointer. Patch against svn r280157. This patch leads to the error message being in the wrong place: a.f90:1:28: 1 | subroutine my_random_seed_v (size, put, get) | 1 Fehler: Size of =C2=BBput=C2=AB argument of =C2=BBrandom_seed=C2=AB intrins= ic at (1) too small (1/8) a.f90:1:28: 1 | subroutine my_random_seed_v (size, put, get) | 1 Fehler: Size of =C2=BBget=C2=AB argument of =C2=BBrandom_seed=C2=AB intrins= ic at (1) too small (1/8) However, this is the right place, and the fix is obvious and simple.=