Rafael Ávila de Espí - Re: [Treelang] flag_signed_char (original) (raw)

This is the mail archive of the gcc@gcc.gnu.orgmailing 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]

On Monday 14 November 2005 23:10, Jim Wilson wrote:

Signedness of char depends on the OS. If you want compatibility with C, and in particular, the standard C library, then you should use the OS default, which is obtained from flag_signed_char.

flag_signed_char can also be overriden by user options, but this is not the main reason for using it.

Did you try testing this on a system where "char" defaults to unsigned char? It is possible that the patch might work fine on a signed-char system, but fail on an unsigned-char system. No, I didn't. I can test in powerpc system if that is necessary. Since James
Morrison already stated that treelang should be C like, I don't think that such test is usefull.

Thanks you very much.

Rafael

Attachment:pgp00000.pgp
Description: PGP signature


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