RFA: PR 34456: Use regs_invalidated_by_call in mark_set_resources

Richard Sandiford rsandifo@nildram.co.uk
Tue Dec 18 07:50:00 GMT 2007


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



More information about the Gcc-patches mailing list