gcc/fortran/ChangeLog: 2020-08-10 Andre Vehreschild PR fortran/93671 * trans-array.c (structure_alloc_comps): Keep caf-mode when applying to components; get the caf_token correctly for allocated scalar components. gcc/testsuite/ChangeLog: 2020-08-10 Andre Vehreschild PR fortran/93671 * gfortran.dg/coarray/pr93671.f90: New test.