https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872
--- Comment #17 from GCC 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:5bd664838398980f1c8af60a946947ff83744fcc commit r15-7804-g5bd664838398980f1c8af60a946947ff83744fcc Author: Andre Vehreschild <ve...@gcc.gnu.org> Date: Mon Mar 3 14:42:28 2025 +0100 Fortran: Prevent ICE when getting caf-token from abstract type [PR77872] PR fortran/77872 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_get_tree_for_caf_expr): Pick up token from decl when it is present there for class types. gcc/testsuite/ChangeLog: * gfortran.dg/coarray/class_1.f90: New test.