[PATCH,committed] fortran: Replace large structs as function parameters by references [PR124259]

Harald Anlauf anlauf@gmx.de
Sun Mar 22 21:17:56 GMT 2026


Dear all,

the attached simple patch is a small performance improvement.
It replaces large structs passed by value by const references in
two places as suggested by cppcheck.

Regtested on x86_64-pc-linux-gnu, OK'd in the PR by David Binderman,
and pushed as r16-8251-g15bccf4412d7ae .

Thanks,
Harald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr124259.diff
Type: text/x-patch
Size: 3266 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20260322/d9776a5f/attachment-0003.bin>


More information about the Fortran mailing list