https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121429
--- Comment #5 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Looking at gfc_trans_deallocate we already have code for special handling of when a variaable has a corank or is a coarray. I believe we only need to build a call to caf_sync_all in the right place.
