[gccgo] -fsplit-stack fix: Only use two regs in 32-bit mode
Ian Lance Taylor
iant@google.com
Wed Jan 27 18:29:00 GMT 2010
In 32-bit the -fsplit-stack code doesn't permit three register
parameters when the stack frame is large, because it needs a scratch
register. This patch ensures that when optimizing the calling
convention for a static function, we use at most two registers
parameters when -fsplit-stack is in effect. Committed to gccgo
branch.
Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 669 bytes
Desc: regs
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100127/aed02dff/attachment.bin>
More information about the Gcc-patches
mailing list