https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124259
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:15bccf4412d7ae99ee448420b6deccd88081bcab commit r16-8251-g15bccf4412d7ae99ee448420b6deccd88081bcab Author: Harald Anlauf <[email protected]> Date: Sun Mar 22 21:58:37 2026 +0100 fortran: Replace large structs as function parameters by references [PR124259] Large structs passed by value as function parameters can be replaced by const references to improve performance. PR fortran/124259 gcc/fortran/ChangeLog: * target-memory.cc (gfc_merge_initializers): Change struct gfc_typespec argument into a const reference. * target-memory.h (gfc_merge_initializers): Adjust prototype. * trans.cc (gfc_finalize_tree_expr): Change struct symbol_attribute argument into a const reference. * trans.h (gfc_finalize_tree_expr): Adjust prototype.
