------- Comment #4 from pault at gcc dot gnu dot org 2009-09-07 12:51 ------- (In reply to comment #3) Note what happens if the critical part is doubled up, thus:
subroutine no_func_config (prc_lib) type(nf_t), intent(inout), target :: prc_lib integer :: n_in type(string_t) :: prc_id prc_id = "foobar" n_in = prc_lib% get_n_in (1) prc_id = "foobar" n_in = prc_lib% get_n_in (2) end subroutine no_func_config Three errors now appear in the order (2), (1), (2) If the first prc_id = "foobar" is commented out, we get just (2) or if the second is commented out, we get (1), (2). Wierd! I think that this will require Daniel and Janus to go back over their patches in the period concerned or to identify the specific revision. I will try to do that tonight. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41242