Allow passing arrays in registers on AArch64
Fri Jan 17 08:22:00 GMT 2014
Hi, as discussed in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59799
GCC currently gets a detail of the AArch64 ABI wrong: arrays are not
always passed by reference. Fortunately the fix is rather easy...
I guess this is an ABI break but my understand there has been no release
of GCC which supports compiling a language that can pass arrays by value
on AArch64 yet.
2014-01-17 Michael Hudson-Doyle <email@example.com>
* config/aarch64/aarch64.c (aarch64_pass_by_reference):
The rules for passing arrays in registers are the same as
for structs, so remove the special case for them.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 567 bytes
Desc: not available
More information about the Gcc-patches