[PATCH] Use gcc stpncpy chk builtin (BZ #20661)

Joseph Myers joseph@codesourcery.com
Fri Sep 30 20:11:00 GMT 2016


On Fri, 30 Sep 2016, Adhemerval Zanella wrote:

> Since r182378 GCC provides stpncpy_chk builtin support and it is
> included in official GCC 4.7.4 package.  It allows GLIBC to use it
> on string3.h headers without any additional guards.

You'll need to explain this more.  The installed glibc headers support GCC 
2.7 and later.  What is the minimum GCC version for which the installed 
headers will end up including <bits/string3.h>?  Is it more recent than 
the minimum version that has this built-in function?

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list