------- Comment #1 from domob at gcc dot gnu dot org 2008-10-02 07:22 ------- (In reply to comment #0) > subroutine x_init (this, text, value) > type(x_t) :: this > character(*) :: text > integer :: value > > call base_t%init (text) > ! or... > call base_init (base_t, text)
I can't see why this should be valid; base_t does not name any variable and thus can not have neither a component reference nor be an actual argument. So when encountering base_t the compiler thinks correctly a structure constructor is to follow. Or did I miss something? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37712