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

--- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---
On my environment, the example from comment 0 compiles now without an ICE.

$ gfortran-6 --version
GNU Fortran (SUSE Linux) 6.1.1 20160502 [gcc-6-branch revision 235698]

$ gfortran-6 -std=f95 pr48776.f90
pr48776.f90:6:18:

     procedure get1
                  1
Error: Fortran 2003: PROCEDURE statement at (1)
pr48776.f90:9:14:

   integer :: h
              1
Error: Procedure ‘h’ in generic interface 'get' at (1) is neither function nor
subroutine
pr48776.f90:10:13:

   call set1 (get (h))
             1
Error: There is no specific function for the generic ‘get’ at (1)

Reply via email to