This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Pass floating point values on powerpc64 as per ABI
- From: Andreas Schwab <schwab at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: David Edelsohn <dje dot gcc at gmail dot com>
- Date: Tue, 19 Nov 2013 10:16:31 +0100
- Subject: Re: Pass floating point values on powerpc64 as per ABI
- Authentication-results: sourceware.org; auth=none
- References: <20131116114805 dot GJ22514 at bubble dot grove dot modra dot org> <20131116115443 dot GM22514 at bubble dot grove dot modra dot org> <mvm61rqm5ww dot fsf at hawking dot suse dot de> <20131118233138 dot GW22514 at bubble dot grove dot modra dot org> <8738mt6xs4 dot fsf at igel dot home> <20131119004626 dot GY22514 at bubble dot grove dot modra dot org> <20131119005731 dot GZ22514 at bubble dot grove dot modra dot org>
Alan Modra <amodra@gmail.com> writes:
> On Tue, Nov 19, 2013 at 11:16:26AM +1030, Alan Modra wrote:
>> On Tue, Nov 19, 2013 at 01:27:39AM +0100, Andreas Schwab wrote:
>> > Where does it call a varargs function?
>>
>> printf
>
> Sorry that wasn't such a helpful response.
>
> Here, really:
> res = ((int(*)(char*, ...))(code))(format, doubleArg);
But cls_double_va_fn doesn't expect a varargs call.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."