This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix libdecnumber bootstrap on Tru64 (part 2)
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Ben Elliston <bje at au1 dot ibm dot com>
- Date: Tue, 20 Dec 2005 11:22:38 -0700 (MST)
- Subject: Re: [PATCH] Fix libdecnumber bootstrap on Tru64 (part 2)
On Tue, 20 Dec 2005, Richard Earnshaw wrote:
> Sorry, Roger, I guess that means your original patch was correct
> after all.
Sorry for the inconvenience. I've now committed the original patch
which casts the string contents to "unsigned char" before calling
tolower, which both Gaby and Richard now agree is the correct fix.
If there's an interest in using libiberty's strcasecmp or the
efficient libdecnumber specific implementation, these can be
tackled as follow-up issues, now that the bootstrap failure is
resolved.
Thanks again,
Roger
--