@@ -3644,10 +3644,10 @@ gfc_build_builtin_function_decls (void)
36443644 boolean_type_node , pint_type );
36453645
36463646 gfor_fndecl_caf_send = gfc_build_library_function_decl_with_spec (
3647- get_identifier (PREFIX ("caf_send" )), ".R.RRRRRRW " , void_type_node , 10 ,
3647+ get_identifier (PREFIX ("caf_send" )), ".R.RRRRRRWR " , void_type_node , 11 ,
36483648 pvoid_type_node , size_type_node , integer_type_node , pvoid_type_node ,
36493649 pvoid_type_node , pvoid_type_node , integer_type_node , integer_type_node ,
3650- boolean_type_node , pint_type );
3650+ boolean_type_node , pint_type , pvoid_type_node );
36513651
36523652 gfor_fndecl_caf_sendget = gfc_build_library_function_decl_with_spec (
36533653 get_identifier (PREFIX ("caf_sendget" )), ".R.RRRR.RRRRRR" ,
@@ -3771,6 +3771,33 @@ gfc_build_builtin_function_decls (void)
37713771 void_type_node , 3 , pvoid_type_node , ppvoid_type_node ,
37723772 integer_type_node );
37733773
3774+ gfor_fndecl_caf_form_team
3775+ = gfc_build_library_function_decl_with_spec (
3776+ get_identifier (PREFIX ("caf_form_team" )), "RWR" ,
3777+ void_type_node , 3 , integer_type_node , ppvoid_type_node ,
3778+ integer_type_node );
3779+
3780+ gfor_fndecl_caf_change_team
3781+ = gfc_build_library_function_decl_with_spec (
3782+ get_identifier (PREFIX ("caf_change_team" )), "RR" ,
3783+ void_type_node , 2 , ppvoid_type_node ,
3784+ integer_type_node );
3785+
3786+ gfor_fndecl_caf_end_team
3787+ = gfc_build_library_function_decl (
3788+ get_identifier (PREFIX ("caf_end_team" )), void_type_node , 0 );
3789+
3790+ gfor_fndecl_caf_get_team
3791+ = gfc_build_library_function_decl_with_spec (
3792+ get_identifier (PREFIX ("caf_get_team" )), "R" ,
3793+ void_type_node , 1 , integer_type_node );
3794+
3795+ gfor_fndecl_caf_sync_team
3796+ = gfc_build_library_function_decl_with_spec (
3797+ get_identifier (PREFIX ("caf_sync_team" )), "RR" ,
3798+ void_type_node , 2 , ppvoid_type_node ,
3799+ integer_type_node );
3800+
37743801 gfor_fndecl_caf_image_status
37753802 = gfc_build_library_function_decl_with_spec (
37763803 get_identifier (PREFIX ("caf_image_status" )), "RR" ,
0 commit comments