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: Fix MIPS NewABI fallout from recent tree-nested.c fix


On Tue, Jun 3, 2008 at 8:22 PM, Richard Sandiford
<rdsandiford@googlemail.com> wrote:
> "Richard Guenther" <richard.guenther@gmail.com> writes:
>> On Mon, Jun 2, 2008 at 11:17 PM, Richard Sandiford
>> <rdsandiford@googlemail.com> wrote:
>>> Eric's recent tree-nested.c patch allows us to inline gcc.dg/nest.c:foo
>>> into main.  This creates a function in which the only use of the $gp
>>> register is an implicit one in FUNCTION_PROFILER, and a bug in the
>>> MIPS port meant that we'd delete the initialisation as dead.
>>>
>>> Fixed by extending the !TARGET_EXPLICIT_RELOCS case to include
>>> crtl->profile as well, and making sure that it is used even
>>> for LOADGP_ABSOLUTE (for which !TARGET_EXPLICIT_RELOCS is known
>>> to be false).
>>>
>>> Tested on mips64el-linux-gnu and applied.
>>
>> Erics patch also went on the 4.3 branch.  If you are comfortable with
>> your change can you also put it there to not regress on the branch?
>
> OK, will do.  Thanks for the heads-up.
>
> Can I put it in before 4.3.1, or should I wait until after the release?

You can put it in now.

Thanks,
Richard.


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