[Bug fortran/42048] [F03] Erroneous syntax error message on TBP call

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 15 15:12:00 GMT 2009



------- Comment #6 from janus at gcc dot gnu dot org  2009-11-15 15:12 -------
(In reply to comment #4)
> Besides, it probably fails for strange constructions such as

Another thing that does not work is:

 type(field) function new_field()
  ! ...
 end function

 subroutine test
   call new_field()%mesh%new_grid()
 end subroutine

OTOH, is this even valid?


-- 


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



More information about the Gcc-bugs mailing list