This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Wide characters and GCC
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: Wide characters and GCC
- From: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Date: Sat, 09 Jun 2001 15:21:51 +1200 (NZST)
- Cc: gcc at gcc dot gnu dot org, m dot hayes at elec dot canterbury dot ac dot nz
- References: <Pine.LNX.4.33.0106061155500.30055-100000@kern.srcf.societies.cam.ac.uk>
Joseph S. Myers writes:
> What should the formats of both narrow and wide STRING_CSTs be when the
> target byte size (either hardware or C-level) is not the same as the host
> byte size? The only vaguely active ports for which this is the case are I
> think the C4X and PDP-10 ports; I've CC:ed their maintainers.
I'm not sure you are getting at here. Can you be more specific?
> What
> testcases from the GCC testsuite fail on such targets because of problems
> with GCC's support for different sizes of char?
There are a number of testcases that fail with the C4x target due to
an assumption that 4 chars fit in an integer. This has been too low a
priority for me to worry about.
Michael.