https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121043
--- Comment #22 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jerry DeLisle <[email protected]>: https://gcc.gnu.org/g:ede3dd56e632457899a82049e298ddd0e3612e14 commit r16-7964-gede3dd56e632457899a82049e298ddd0e3612e14 Author: Andre Vehreschild <[email protected]> Date: Fri Jul 4 11:26:46 2025 +0200 Fortran: Evaluate all functions on the source image. Formerly pure elemental functions were evaluated in the caf_accessor. This had so many dependencies that there was no benefit. Evaluate every function on the calling side now, which has the benefit, that only one temporary has to be created instead of argument many. PR fortran/121043 gcc/fortran/ChangeLog: * coarray.cc (check_add_new_component): Evaluate all functions on the source image. * trans-decl.cc (gfc_build_builtin_function_decls): The only argument of team_number() is of type void* in the library ABI.
