[Bug fortran/82886] ICE with -finit-derived in gfc_conv_expr, at fortran/trans-expr.c:7807

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Tue Nov 7 17:20:00 GMT 2017


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

--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---

A possible reduction :


$ cat z1.f90
program p
  use, intrinsic :: iso_c_binding, only: c_ptr, c_null_ptr
  type t
    type(c_ptr) :: my_c_ptr
  end type
contains
  subroutine sub0() bind(c)
    type(t), target :: my_f90_type
    my_f90_type%my_c_ptr = c_null_ptr
  end subroutine
end


More information about the Gcc-bugs mailing list