https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99838
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:c77dd2d7d40d4fb0d141bf61544d8a57d501f981 commit r15-9763-gc77dd2d7d40d4fb0d141bf61544d8a57d501f981 Author: Harald Anlauf <anl...@gmx.de> Date: Tue Jun 3 20:48:31 2025 +0200 Fortran: ICE due to missing locus with data statement for coarray [PR99838] PR fortran/99838 gcc/fortran/ChangeLog: * data.cc (gfc_assign_data_value): For a new initializer use the location from the constructor as fallback. gcc/testsuite/ChangeLog: * gfortran.dg/coarray_data_2.f90: New test. (cherry picked from commit 0768ec0d32f570b1db13ca41b0a1506275c44053)