sparc build broken...

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Fri Jun 1 16:02:00 GMT 2012


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.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list