https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102973
--- Comment #4 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:54be14bfd6e2dee7cb4e1b3c20dc2677093ee818 commit r15-2911-g54be14bfd6e2dee7cb4e1b3c20dc2677093ee818 Author: Andre Vehreschild <ve...@gcc.gnu.org> Date: Tue Aug 13 15:06:56 2024 +0200 Prevent future proc_ptr parsing issues in associate [PR102973] A global variable is set when proc_ptr parsing in an associate is expected. In the case of an error, that flag was not reset, which is fixed now. gcc/fortran/ChangeLog: PR fortran/102973 * match.cc (gfc_match_associate): Reset proc_ptr parsing flag on error.