public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95104] New: Segfault on a legal WAIT statement
@ 2020-05-13 12:42 longb at cray dot com
  2020-05-13 12:43 ` [Bug fortran/95104] " longb at cray dot com
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: longb at cray dot com @ 2020-05-13 12:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95104

            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=ios)
              print *, ios
              close (10)
      end program test


> gfortran test.f90
> ./a.out

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

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.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-10-19  5:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 12:42 [Bug fortran/95104] New: Segfault on a legal WAIT statement longb at cray dot com
2020-05-13 12:43 ` [Bug fortran/95104] " longb at cray dot com
2020-05-13 16:14 ` kargl at gcc dot gnu.org
2020-05-13 16:18 ` longb at cray dot com
2020-05-13 16:24 ` kargl at gcc dot gnu.org
2020-05-13 16:24 ` kargl at gcc dot gnu.org
2020-05-26 20:06 ` [Bug libfortran/95104] [9/10/11 Regression] " anlauf at gcc dot gnu.org
2020-05-26 20:30 ` anlauf at gcc dot gnu.org
2020-05-26 21:10 ` sgk at troutmask dot apl.washington.edu
2020-05-26 21:30 ` cvs-commit at gcc dot gnu.org
2020-05-26 21:34 ` [Bug libfortran/95104] [9/10 " anlauf at gcc dot gnu.org
2020-05-27 19:05 ` cvs-commit at gcc dot gnu.org
2020-05-27 19:08 ` cvs-commit at gcc dot gnu.org
2020-05-27 19:18 ` anlauf at gcc dot gnu.org
2020-05-28  8:34 ` ro at gcc dot gnu.org
2020-05-28 19:53 ` cvs-commit at gcc dot gnu.org
2020-05-28 20:04 ` cvs-commit at gcc dot gnu.org
2020-05-28 20:14 ` cvs-commit at gcc dot gnu.org
2020-05-28 20:16 ` anlauf at gcc dot gnu.org
2020-10-18 20:47 ` longb at cray dot com
2020-10-19  5:36 ` tkoenig at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).