From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9467 invoked by alias); 2 Dec 2004 15:08:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 9236 invoked by alias); 2 Dec 2004 15:08:49 -0000 Date: Thu, 02 Dec 2004 15:08:00 -0000 Message-ID: <20041202150848.9234.qmail@sourceware.org> From: "kghazi at verizon dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041202142212.18785.darcypj@us.ibm.com> References: <20041202142212.18785.darcypj@us.ibm.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug middle-end/18785] [4.0 Regression] isdigit builtin function fails with EBCDIC character sets X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg00340.txt.bz2 List-Id: ------- 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