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

            Bug ID: 68152
           Summary: ICE on declaring array result for function and entry
           Product: gcc
           Version: 5.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fort...@t-online.de
  Target Milestone: ---

Declaring both function result and entry result as array :


$ cat z1.f90
function f(n)
   integer, intent(in) :: n
   real :: f(n)
   real :: e(n)
entry e(n)
end


$ gfortran -g -O0 -Wall -fcheck=all z1.f90
f951: internal compiler error: gfc_compare_array_spec(): Array spec clobbered

Reply via email to