@@ -5115,7 +5115,6 @@ send_for_ref(caf_reference_t *ref, size_t *i, size_t src_index,
51155115 gfc_max_dim_descriptor_t dst_desc_data ;
51165116 caf_ref_type_t ref_type = ref -> type ;
51175117 caf_array_ref_t array_ref_src = ref -> u .a .mode [src_dim ];
5118- caf_array_ref_t array_ref_dst = ref -> u .a .mode [dst_dim ];
51195118 int ierr ;
51205119
51215120 if (unlikely (ref == NULL ))
@@ -5133,10 +5132,8 @@ send_for_ref(caf_reference_t *ref, size_t *i, size_t src_index,
51335132 if (ref -> next == NULL )
51345133 {
51355134 size_t src_size = GFC_DESCRIPTOR_SIZE (src );
5136- dprint ("[next == NULL]: src_size = %zd, ref_type = %s, "
5137- "array_ref_src = %s\n" ,
5138- src_size , caf_ref_type_str [ref_type ],
5139- caf_array_ref_str [array_ref_src ]);
5135+ dprint ("[next == NULL]: src_size = %zd, ref_type = %s\n" ,
5136+ src_size , caf_ref_type_str [ref_type ]);
51405137
51415138 switch (ref_type )
51425139 {
@@ -5225,10 +5222,15 @@ send_for_ref(caf_reference_t *ref, size_t *i, size_t src_index,
52255222 caf_runtime_error (unreachable );
52265223 }
52275224 }
5225+ caf_array_ref_t array_ref_dst = ref -> u .a .mode [dst_dim ];
52285226
5229- dprint ("image_index = %d, num = %zd, "
5230- "src_dim = %zd, dst_dim = %zd, ref_type = %s\n" ,
5231- image_index , num , src_dim , dst_dim , caf_ref_type_str [ref_type ]);
5227+ #if 0
5228+ dprint ("image_index = %d, num = %zd, src_dim = %zd, dst_dim = %zd, "
5229+ "ref_type = %s, array_ref_src = %s\n" ,
5230+ image_index , num , src_dim , dst_dim ,
5231+ caf_ref_type_str [ref_type ],
5232+ caf_array_ref_str [array_ref_src ]);
5233+ #endif
52325234
52335235 switch (ref_type )
52345236 {
0 commit comments