This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sparc build broken...


From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Fri, 01 Jun 2012 18:01:45 +0200

> Steven Bosscher <stevenb.gcc@gmail.com> writes:
> 
>> On Thu, May 31, 2012 at 11:15 PM, David Miller <davem@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]