This is the mail archive of the
mailing list for the GCC project.
Re: [24/27] Put gcse's can_copy hash into target structures
On Jul 10, 2010, at 6:59 AM, Richard Sandiford wrote:
>> For the most part I think *most* of the "char" variables that
>> you're moving should really be "bool". However, I think that
>> should be done in separate changes.
> Yeah, agreed that bool would be nicer. I vaguely recall a discussion
> about whether that was a good idea though, given that hosts like Darwin
> define bool to be wider than char. More fool them, I suppose.
:-) Hey, for -fwhole-program, is there a narrowing pass that can change 4 byte variables into 1 byte variables? I'd not object to using the arguably better bool for these things. bool is only 4 bytes on ppc, not on any of the x86 targets.