This is the mail archive of the
mailing list for the GCC project.
Re: powerpc-unknown-linux-gnu bootstrap fix
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Matt Kraai <kraai at alumni dot cmu dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 14 May 2003 13:20:36 -0400
- Subject: Re: powerpc-unknown-linux-gnu bootstrap fix
>>>>> Richard Henderson writes:
Richard> On Wed, May 14, 2003 at 01:03:12PM -0400, David Edelsohn wrote:
>> Richard, would it be better to change g_switch_value to unsigned
>> int or unsigned HOST_WIDE_INT?
I just noticed that this is fairly ugly. Half the time
g_switch_value is tested against SIZE (unsigned HOST_WIDE_INT) and the
other half again int_size_in_bytes (signed HOST_WIDE_INT). It's not going
to be easy to reliably rationalize this either way. Maybe we should just
punt with a cast in sysv4.h -- alpha.c does that already. Comments?