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

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@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

Reply via email to