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

            Bug ID: 125347
           Summary: gfortran internal compiler error for linked list with
                    allocatable link
           Product: gcc
           Version: 13.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jos.bergervoet at xs4all dot nl
  Target Milestone: ---

Created attachment 64475
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64475&action=edit
Indirectly linked list, gives gfortran "internal compiler error".

Program defines indirectly linked list with allocatable link.
gfortran reports "internal compiler error". No explanation why.
Here gfortran should either compile, or give an error message!

See attached code, No external files, no compiler flags. Output:

  $ gfortran --version
  GNU Fortran (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  Copyright (C) 2023 Free Software Foundation, Inc.


  $ gfortran internal_error.f90
  gfortran: internal compiler error: Segmentation fault signal terminated
program f951
  Please submit a full bug report, with preprocessed source (by using
-freport-bug).

Reply via email to