https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114417
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- uint64_t f2 (struct type2 & x) It is definitely passed by reference because of ABI requirements of C++.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 21 Mar 2024 09:28:49 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114417
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- uint64_t f2 (struct type2 & x) It is definitely passed by reference because of ABI requirements of C++.