From: Rainer Orth <r...@cebitec.uni-bielefeld.de> Date: Fri, 01 Jun 2012 18:01:45 +0200
> Steven Bosscher <stevenb....@gmail.com> writes: > >> On Thu, May 31, 2012 at 11:15 PM, David Miller <da...@davemloft.net> wrote: >>> >>> Removing output.h from reload1.c broke the sparc build because >>> sparc's define of INITIAL_ELIMINATION_OFFSET (which is used in >>> reload1.c) references current_function_is_leaf. >> >> I was afraid of some fall-out. This is why target macros must die... >> >> Could you please give the attached patch a try? > > It currently fails like this: > > /vol/gcc/src/hg/trunk/local/gcc/config/sparc/sparc.c:4557:1: error: unused > parameter 'from' [-Werror=unused-parameter] > sparc_initial_elimination_offset (int from, int to) > ^ > > I've just restarted the build with from marked unused. I hit the same problem, but solved it by removing the 'from' parameter entirely.