From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE1FD388A838; Wed, 13 May 2020 12:42:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE1FD388A838 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589373728; bh=G7X2TUsJU5AXoTZFWHdbPS7IktOYGA71SywPiHdXn2U=; h=From:To:Subject:Date:From; b=VLSfyWpBAI/lpu0oW4Rm0xxdq39CFmP8FF2c9qms/iNA083HIbKjPE3EcCFsMJz03 DkJ9d2S+mJ7o2QZkdWkA7wOnHbJuAyrKolW/LhB3689v/g0d/u6IiwGMdQbjXF3Tya inr9H1z/qXSO9ISZfBUN9UNWY9vrMW1jI9W8KEtI= From: "longb at cray dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/95104] New: Segfault on a legal WAIT statement Date: Wed, 13 May 2020 12:42:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: longb at cray dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Wed, 13 May 2020 12:42:09 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95104 Bug ID: 95104 Summary: Segfault on a legal WAIT statement Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: longb at cray dot com Target Milestone: --- > cat test.f90 program test wait (10, iostat=3Dios) print *, ios close (10) end program test > gfortran test.f90 > ./a.out Program received signal SIGSEGV: Segmentation fault - invalid memory refere= nce. Backtrace for this error: #0 0x7f3f0334159f in ??? #1 0x4007f6 in ??? #2 0x4008c7 in ??? #3 0x7f3f0332c349 in ??? #4 0x4006f9 in ??? at ../sysdeps/x86_64/start.S:120 #5 0xffffffffffffffff in ??? Segmentation fault (core dumped) longb@jupiter:/cray/css/users/longb/spr/jira/22703> gfortran --version GNU Fortran (GCC) 9.3.0 20200312 (Cray Inc.) Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=