File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2490,12 +2490,14 @@ gfc_get_derived_type (gfc_symbol * derived, int codimen)
24902490 || (flag_coarray == GFC_FCOARRAY_LIB
24912491 && derived -> from_intmod == INTMOD_ISO_FORTRAN_ENV
24922492 && (derived -> intmod_sym_id == ISOFORTRAN_LOCK_TYPE
2493- || derived -> intmod_sym_id == ISOFORTRAN_EVENT_TYPE )))
2493+ || derived -> intmod_sym_id == ISOFORTRAN_EVENT_TYPE
2494+ || derived -> intmod_sym_id == ISOFORTRAN_TEAM_TYPE )))
24942495 return ptr_type_node ;
24952496
24962497 if (flag_coarray != GFC_FCOARRAY_LIB
24972498 && derived -> from_intmod == INTMOD_ISO_FORTRAN_ENV
2498- && derived -> intmod_sym_id == ISOFORTRAN_EVENT_TYPE )
2499+ && derived -> intmod_sym_id == ISOFORTRAN_EVENT_TYPE
2500+ || derived -> intmod_sym_id == ISOFORTRAN_TEAM_TYPE ))
24992501 return gfc_get_int_type (gfc_default_integer_kind );
25002502
25012503 if (derived && derived -> attr .flavor == FL_PROCEDURE
You can’t perform that action at this time.
0 commit comments