[Bug fortran/121043] [16 Regression] Tests of OpenCoarray fail to pass, works on 15.1.1 20250712
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 9 17:22:41 GMT 2026
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 <jvdelisle@gcc.gnu.org>:
https://gcc.gnu.org/g:ede3dd56e632457899a82049e298ddd0e3612e14
commit r16-7964-gede3dd56e632457899a82049e298ddd0e3612e14
Author: Andre Vehreschild <vehre@gcc.gnu.org>
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.
More information about the Gcc-bugs
mailing list