[PATCH, committed] Fix for PR121043

Jerry D <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
Commetted after successfully running all OpenCoarrays testing and regression 
testing on x86_64

Tha Thanks Andre,

commit ede3dd56e632457899a82049e298ddd0e3612e14 (HEAD -> master, origin/master, 
origin/HEAD)
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.