[Bug fortran/69420] ICE: tree check: expected array_type, have pointer_type in gfc_conv_array_initializer, at fortran/trans-array.c:5618

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Thu Jan 21 19:42:00 GMT 2016


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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
$ gfortran-5.3.1 -c z1.f90
z1.f90:1:0:

 program p
 1
internal compiler error: Segmentation fault

---

Compiles without initialization :

$ cat z2.f90
program p
   interface
      pure integer function f()
      end
   end interface
   integer :: x(f())
   print *, x
end

$ gfortran-6 -c z2.f90


More information about the Gcc-bugs mailing list