This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: revised**2 x86_64-pc-mingw32 patch
On Wed, Mar 28, 2007 at 02:22:21PM +0200, Kai Tietz wrote:
> I nearly commit this patch, but one point in "function_arg_ms_64" is not
> proper. There is no intepretation of named arguments in MS abi.
Yes there is.
Under "Parameter Passing":
# Floating-point and double-precision arguments are passed ...
# with the integer slot that would normally be used for that
# cardinal slot being ignored ....
Under "Varargs":
# For floating-point values only, both the integer and the floating-point
# register will contain the float value ...
Notice "ignored" in the first part and "will contain" in the
second part. MS clearly distinguishes between functions without
and with variadic arguments.
Something is wrong though, "named" isn't being set properly; I'll
investigate this.
r~