PATCH: fine-tuning for can_store_by_pieces

Mark Mitchell mark@codesourcery.com
Fri Aug 17 18:55:00 GMT 2007


Sandra Loosemore wrote:
> Mark Mitchell wrote:
> 
>> In the various places where you clone the macro, I think you should just
>>  do:
>>
>> #define SET_BY_PIECES_P(SIZE, ALIGN) STORE_BY_PIECES_P(SIZE, ALIGN)
>>
>> In fact, if you do that in expr.c, under #ifndef SET_BY_PIECES_P, I
>> think you can void changing the other backends at all, as you'll
>> automatically pick up their STORE_BY_PIECES_P definitions.
> 
> I previously considered that idea, but that means that just defining
> SET_RATIO to be different than MOVE_RATIO won't do anything useful.

Good point; ignore that suggestion then.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list