libc/string/bits string2.h
drepper@sourceware.org
drepper@sourceware.org
Wed May 26 17:27:00 GMT 2004
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2004-05-26 17:27:10
Modified files:
string/bits : string2.h
Log message:
(memset): Disable macro for GCC 3.0+.
(__mempcpy): Use __builtin_mempcpy for GCC 3.4+.
(strchr): For GCC 3.2+, only use __rawmemchr if second argument is
constant '\0' and first argument is not constant.
(__stpcpy): Use __builtin_stpcpy for GCC 3.4+.
(strncpy): Remove #ifdef _USE_STRING_ARCH_mempcpy variant.
For GCC 3.2+ use __builtin_strncpy.
(strncat): For GCC 3.2+ use __builtin_strncat.
(strcmp): For GCC 3.2+ use __builtin_strcmp if both arguments are constant.
(strcspn, strspn, strpbrk): For GCC 3.2+, use builtin function
if both arguments are constant.
More information about the Glibc-cvs
mailing list