Skip to content

Commit 3da4a95

Browse files
committed
transferred changes for trans-types.c
1 parent a95be81 commit 3da4a95

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gcc/fortran/trans-types.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)