http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60110

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |janus at gcc dot gnu.org
            Summary|internal compiler error     |ICE in gfc_get_symbol_decl,
                   |                            |at
                   |                            |fortran/trans-decl.c:1266

--- Comment #6 from janus at gcc dot gnu.org ---
Further reduced test case:


  implicit  none

  interface
    function power (l, r)
      character(*), intent(in) :: l, r
      character(len(l)) :: power
    end function
  end interface

  call check ( (/ power('a','b') /) )

 contains

   subroutine check (computed)
      character(*), dimension(1), intent(in) ::  computed
   end subroutine

end 


Same ICE (with everything from 4.4 to trunk at least).

Reply via email to