The master branch has been updated by Jerry DeLisle <[email protected]>:
https://gcc.gnu.org/g:b2c44478da133c8ac81bf3fdb67c1fdd8e38d61a commit r17-2629-gb2c44478da133c8ac81bf3fdb67c1fdd8e38d61a Author: Jerry DeLisle <[email protected]> Date: Fri Jul 10 21:47:59 2026 -0700 On 7/22/26 11:00 AM, Jerry D wrote:
See attached patch. I plan to commit this one as simple. Also obvious. (Even less than one line) Regression tested on x86_64. Best regards, Jerry --- fortran: [PR78718] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c PR fortran/78718 gcc/fortran/ChangeLog: * resolve.cc (was_declared): Recognize the RESULT attribute so a function's result variable is not mistaken for a host-associated symbol of the same name. gcc/testsuite/ChangeLog: * gfortran.dg/func_result_8.f90: New test. ---
