https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94615

Florian Weimer <fw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at gcc dot gnu.org

--- Comment #2 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Allison Karlitskaya from comment #0)
> GCC 8 gives this warning, though:
> 
> /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy'
> specified bound 256 equals destination size [-Wstringop-truncation]
> 
> ... which on its face seems kinda funny, because the bound *should* equal
> the destination size.  Particularly in this case.

If this is true (of which I'm not yet sure), we are missing a nonstring
attribute in the glibc header. Either way, it's not a GCC bug, sorry.

Reply via email to