This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18785] [4.0 Regression] isdigit builtin function fails with EBCDIC character sets
- From: "kghazi at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2004 15:08:48 -0000
- Subject: [Bug middle-end/18785] [4.0 Regression] isdigit builtin function fails with EBCDIC character sets
- References: <20041202142212.18785.darcypj@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kghazi at verizon dot net 2004-12-02 15:08 -------
Subject: Re: [4.0 Regression] isdigit builtin function fails with EBCDIC character sets
The .i attachments you supplied use C header macro versions of isdigit, not
the builtin function. E.g.:
retval = ((*__ctype_b_loc ())[(int) (('3'))] & (unsigned short int)
_ISdigit);
So I don't see how this interacts with the builtin. Were these files
generated in error?
It's possible in some cases to disable these ctype macros by supplying -D
flags, but you don't indicate that you did this in your tests.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18785