This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Replace PROMOTE_PROTOTYPES withtargetm.calls.promote_prototypes.
Hi Joseph,
> > Attached is a patch to replace PROMOTE_PROTOTYPES with
> > targetm.calls.promote_prototypes.
>
> > ada/
> > gcc/
> > cp/
> > java/
>
> This piece of target-dependency really doesn't belong in the front ends at
> all: it should be handled once in the code that generates RTL for function
> calls. It would be nice for this to be cleaned up.
Right, but each use is slightly different. Plus, I don't know enough
about language-specific stuff, so I think the clean up should be done
separately.
Kazu Hirata