This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Remove PUSH_ARGS_REVERSED from the RTL expander.
- From: Michael Matz <matz at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, James Greenhalgh <james dot greenhalgh at arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jeff Law <law at redhat dot com>
- Date: Tue, 25 Mar 2014 14:18:47 +0100 (CET)
- Subject: Re: [RFC] Remove PUSH_ARGS_REVERSED from the RTL expander.
- Authentication-results: sourceware.org; auth=none
- References: <1395661485-28060-1-git-send-email-james dot greenhalgh at arm dot com> <CAFiYyc27-4O5Jav-P-WwQ2BObY5BPJ_RjUoP9GwEJPfn5qRF2w at mail dot gmail dot com> <alpine dot LNX dot 2 dot 00 dot 1403241354000 dot 7694 at wotan dot suse dot de> <53309262 dot 2090308 at redhat dot com>
Hi,
On Mon, 24 Mar 2014, Richard Henderson wrote:
> See
>
> http://en.wikipedia.org/wiki/X86_calling_conventions#pascal
>
> Since we don't actually support this anymore, we can certainly tidy this
> up.
Yeah, I thought about that, but I couldn't see how that could have used
PUSH_ARGS_REVERSED. The above calling convention would be a language
setting while the macro is a target setting, and for interoperability even
the Pascal compiler would have to be able to create some calls with
reversed arguments. So I thought that Pascal never was the purpose for
the macro. (I didn't check to make sure, though)
Ciao,
Michael.