------- Additional Comments From roger at eyesopen dot com  2004-12-04 03:44 
-------
Hi P.J.,

Thanks for removing the i686 version of the attachment.  But it looks like the
390x-ibm-tpf version of digit.i (attachment #1), also reveals that the isdigit
call is being expanded as a macro in native <ctype.h>.

Can you confirm that there's actually a problem with the GCC builtin, for
example, by showing that adding the command line option -fno-builtin-isdigit
resolves the
failure?  If specifying -fno-builtin-isdigit doesn't correct the failure, then
obviously its not GCC's builtin implementation at fault.

You should be able to factor out problems with the system headers by using a
test case that doesn't include <ctype.h> at all.  For example, just:

int foo(char ch)
{
  return isdigit(ch);
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18785

Reply via email to