On 10/13/26 7:48 AM, Mikael Morin wrote:
Hello Jerry,

patch is OK to go; I've had a small concern about this:

Le 12/10/2026 à 01:18, Jerry DeLisle a écrit :
 > the coarray deallocation that no longer takes
 > STAT=/ERRMSG= (so a deallocation status cannot overwrite the team
 > status)
ignoring errors unrelated to image statuses, but it seems that _gfortran_caf_register with type CAF_DEREGTYPE_COARRAY_DEALLOCATE_ONLY doesn't report any error, so it doesn't make any difference.

Thanks for the patch.

Thanks for review.

You are right: _gfortran_caf_deregister
never reports an error for CAF_DEREGTYPE_COARRAY_DEALLOCATE_ONLY, and
END TEAM sets STAT= after the deallocation loop anyway, so passing
NULL there changes nothing today.  It only keeps a future
deallocation status from being silently overwritten; if deregister
ever starts reporting errors, END TEAM should merge them with the
team status instead of dropping them.


Pushed as r17-5127

Regards,

Jerry

Reply via email to