[Bug target/59799] aarch64_pass_by_reference never passes arrays by value, contrary to ABI documentation

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 14 02:04:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59799

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
"It should be noted that the above algorithm makes provision for languages
other than C and C++ in that it provides 
for passing arrays by value and for passing arguments of dynamic size."

Note the other than C/C++ part here.  This means it only effects non C/C++
languages.

Does go or Ada allow passing arrays by value?



More information about the Gcc-bugs mailing list