This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: targetm.calls.promote_prototypes parameter
- From: DJ Delorie <dj at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: kazu at gcc dot gnu dot org, aoliva at redhat dot com, olegendo at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Wed, 06 Dec 2017 11:47:41 -0500
- Subject: Re: targetm.calls.promote_prototypes parameter
- Authentication-results: sourceware.org; auth=none
In my original proposal, I said this:
> It includes a bunch of macro->hook conversions, mostly because the
> hooks need an additional parameter (the function) to detect which ones
> are Renesas ABI and which are GCC ABI.
The original documentation at least hinted that the parameter was a
function type:
> @deftypefn {Target Hook} bool TARGET_PROMOTE_PROTOTYPES (tree @var{fntype})
Kazu's calls are in the C++ stuff, I don't know if g++ and Renesas C++
are compatible anyway (I doubt it), but that's what would be affected.
The original work was for C compatibility.