https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049
--- Comment #17 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jerry DeLisle <jvdeli...@gcc.gnu.org>: https://gcc.gnu.org/g:d0571638a6bad932b226ada98b167fa47a47d838 commit r16-428-gd0571638a6bad932b226ada98b167fa47a47d838 Author: Jerry DeLisle <jvdeli...@gcc.gnu.org> Date: Mon May 5 20:05:22 2025 -0700 Fortran: Fix ICE with use of c_associated. PR fortran/120049 gcc/fortran/ChangeLog: * check.cc (gfc_check_c_associated): Modify checks to avoid ICE and allow use, intrinsic :: iso_c_binding from a separate module file. gcc/testsuite/ChangeLog: * gfortran.dg/pr120049_a.f90: New test. * gfortran.dg/pr120049_b.f90: New test.