This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix for altivec-4 signedness problem


On Tue, Jan 08, 2002 at 02:36:54AM -0800, Geoff Keating wrote:
> 
> 'char' is unsigned on powerpc, and all the builtins are defined with
> signed types, so the compiler was (properly) complaining.  I'm not
> sure if this is quite correct but at least it's consistent.

ah yes.  i've run into this before.

hah funny.  i just switched development platforms.  and i just realized
darwin defaults chars to signed, whereas linuxppc and powerpc-eabi default
to unsigned char.  so the tests were working on my ppc, but not on the
sim.

good catch.

thx.
aldy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]