This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: PR44566: accessor macros (1/3): CUMULATIVE_ARGS
Quoting Steven Bosscher <stevenb.gcc@gmail.com>:
On Thu, Jun 24, 2010 at 9:02 PM, Joern Rennecke <amylaar@spamcop.net> wrote:
This fixes up the uses of crtl->args.info .
Bootstrapped and regression tested on i686-pc-linux-gnu in revision 161310.
There is still an issue with all the target hooks that have CUMULATIVE_ARGS
parameters. ÂThis could either be fixed up by changing the function
paraemter
types in very port - which would be a very large patch
Nathan, didn't you promise a patch for this?? ;-)
This irony is that everything works just fine with the old-style target
macros wrapped into target hooks in targhooks.c : A single change to the
targhooks.c implementation fixes the interface.
However, with target hook directly implemented in tm.c, each tm.c has to be
fixed.
Unless we go the route of adding another wrapper function.