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

            Bug ID: 116669
           Summary: compiler crash on circular derived type component
                    definition
           Product: gcc
           Version: 14.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gronki at gmail dot com
  Target Milestone: ---

Getting an ICE (segfault) with gfortran from 10 to 14 (did not test <10 or
>14). Ifort compiles this flawlessly. 

module problem2_m

    implicit none (type, external)

    type ast_expression_t
        type(ast_operation_call_t), allocatable :: op_call
    end type

    type ast_operation_call_t
        type(ast_expression_t), allocatable :: args(:)
    end type

end module

Reply via email to