[PATCH] Fix reload failures on inline asm from mplayer SVN (PR rtl-optimization/39543)

Paolo Bonzini bonzini@gnu.org
Thu Mar 26 18:43:00 GMT 2009


>> +{
>> +  int *regnop = (int *) data;
>> +
>> +  if (!REG_P (*px))
>> +    return 0;
>> +
>> +  if (*regnop < 0 || *regnop == (int) REGNO (*px))
> 
> Eh, when can you have *regnop < 0?

Here...

>> +  /* In __asm don't replace if src might need more registers than
>> +     reg, as that could increase register pressure on the __asm.  */
>> +  regno = -1;

... on the first call.

Using a DF_INSN_USES loop without a callback will make it easier to
understand.

> All for_each_rtx and
> note_stores should die in places where the DF cache can use  :-) 

Add it to the Partial transitions page please!!!

Paolo



More information about the Gcc-patches mailing list