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] |
- From: Rafael Ávila de Espíndola
- To: Jim Wilson
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 15 Nov 2005 19:46:15 -0200
- Subject: Re: [Treelang] flag_signed_char
- References: <564d96fb0511091647s5f34d309s37e2d6e8978c0c55@mail.gmail.com> <4379356F.20107@specifix.com>
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
- References:
- [Treelang] flag_signed_char
* From: Rafael Espíndola - Re: [Treelang] flag_signed_char
* From: Jim Wilson
- [Treelang] flag_signed_char
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |