This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: PR 34456: Use regs_invalidated_by_call in mark_set_resources
- From: Richard Sandiford <rsandifo at nildram dot co dot uk>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 18 Dec 2007 07:42:29 +0000
- Subject: Re: RFA: PR 34456: Use regs_invalidated_by_call in mark_set_resources
- References: <877ijd8y2b.fsf@firetop.home> <200712172357.27461.ebotcazou@libertysurf.fr>
Eric Botcazou <ebotcazou@libertysurf.fr> writes:
>> 200x-xx-xx Kaz Kylheku <kaz@zeugmasystems.com>
>>
>> PR rtl-optimization/34456
>> * resources.c (mark_set_resources): Use regs_invalidated_by_call
>> rather than call_used_regs and global_regs.
>>
>> gcc/testsuite/
>> PR rtl-optimization/34456
>> * gcc.c-torture/execute/pr34456.c: New test.
>
> OK, thanks.
Thanks, now applied to trunk. I forgot to say: this is a regression
from before MIPS GCC had explicit reloc support (3.3 and earlier),
so is it OK for the branches too, if testing goes OK? (The same
test does fail for 4.2. I haven't tried 4.1 yet, but that was
the version Kaz was using, so the bug definitely shows up for
4.1 somewhere.)
Richard