This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] strlenopt improvements
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: "Andreas Krebbel" <krebbel at linux dot vnet dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 Nov 2011 13:41:30 +0100
- Subject: Re: [PATCH] strlenopt improvements
- References: <20111024171514.GA3187@bart>
> 2011-10-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
>
> * gcc.dg/strlenopt-22.c: New testcase.
This doesn't link if you don't have stpcpy in the libc, e.g. on Solaris.
Here's an excerpt from the Linux man pages:
CONFORMING TO
This function is not part of the C or POSIX.1 standards, and is not
customary on Unix systems, but is not a GNU invention either. Perhaps
it comes from MS-DOS.
--
Eric Botcazou