https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93671
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Andre Vehreschild <ve...@gcc.gnu.org>: https://gcc.gnu.org/g:e00464a5cb4214f5a5de4535de4f684a86aa10d5 commit r11-2689-ge00464a5cb4214f5a5de4535de4f684a86aa10d5 Author: Andre Vehreschild <ve...@gcc.gnu.org> Date: Thu Aug 13 16:06:31 2020 +0200 Fix PR fortran/93671; ICE in reffing coarray alloc. comps. Fix an ICE when in a coarray an allocatable component had another allocatable component. gcc/fortran/ChangeLog: 2020-08-10 Andre Vehreschild <ve...@gcc.gnu.org> 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 <ve...@gcc.gnu.org> PR fortran/93671 * gfortran.dg/coarray/pr93671.f90: New test.