public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/94170] New: gfortran segfault on object oriented code
@ 2020-03-13 16:45 r.dilz at tue dot nl
  2020-03-16 10:50 ` [Bug fortran/94170] " marxin at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: r.dilz at tue dot nl @ 2020-03-13 16:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94170
           Summary: gfortran segfault on object oriented code
           Product: gcc
           Version: 9.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: r.dilz at tue dot nl
  Target Milestone: ---

Created attachment 48030
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48030&action=edit
The part of the code that crashes the gfortran

I have some code that doesn't work on some gfortran compilers.
gfortran-4.8 Works
ifort (15.0.0) Works
gfortran-5 segfaults
gfortran-7 segfaults
gfortan-9 (9.2.1) segfaults

Since I am new to object oriented fortran, I am not completely sure whether my
code is correct. But since it works on some compilers, I suspect it is correct.

The code is simply built with: gfortran -c crashgfortran.f90 (see attachment)

The goal of the code is to recursively build arrays of classes.

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

* [Bug fortran/94170] gfortran segfault on object oriented code
  2020-03-13 16:45 [Bug fortran/94170] New: gfortran segfault on object oriented code r.dilz at tue dot nl
@ 2020-03-16 10:50 ` marxin at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-03-16 10:50 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org
           Priority|P3                          |P4
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2020-03-16

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed, started with r5-6587-g5b384b3d55927e81.

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

end of thread, other threads:[~2020-03-16 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-13 16:45 [Bug fortran/94170] New: gfortran segfault on object oriented code r.dilz at tue dot nl
2020-03-16 10:50 ` [Bug fortran/94170] " marxin 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).