https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121743
--- Comment #1 from Gilles Gouaillardet <gilles.gouaillardet at gmail dot com> --- FWIW, gcc-14 is fine and git bisect points to: commit 91d52f87c5bc48eacaf305d515e7cce192c2cf9c (HEAD) Author: Andre Vehreschild <[email protected]> Date: Thu Oct 31 15:35:47 2024 +0100 Fortran: Remove adding and removing of caf_get. [PR107635] Preparatory work for PR107635. During resolve prevent adding caf_get calls for expressions on the left-hand-side of an assignment and removing them later on again. Furthermore has the caf_token in a component become a pointer to the component and not the backend_decl of the caf-component. In some cases the caf_token was added as last component in a derived type and not as the next one following the component that it was needed to be associated to.
