fix Xtensa variable-size argument passing
Bob Wilson
bwilson@tensilica.com
Thu Jul 15 05:30:00 GMT 2004
The new compat/struct-by-value-22 test exposed some argument passing problems in
the Xtensa port for arguments with variable size. I've committed this patch on
the mainline. Tested by running the testsuite with an xtensa-elf target.
2004-07-14 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (function_arg_advance): Check for args
that must be passed in the stack.
(xtensa_gimplify_va_arg_expr): Skip special-case padding for small
arguments if the size is not a constant.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-stk-arg.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040715/3507467e/attachment.ksh>
More information about the Gcc-patches
mailing list