http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60952
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2014-04-25 CC| |janus at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from janus at gcc dot gnu.org --- Confirmed (also with 4.4, 4.6 and 4.8). Slightly reduced test case: module A_mod implicit none type A contains procedure, nopass :: end end type contains subroutine swap contains subroutine subSwap end subroutine end subroutine integer function end() end function end module Fails with: integer function end() 1 Error: VARIABLE attribute of 'end' conflicts with PROCEDURE attribute at (1)