This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
builtin_strncat/builtin_strcat reads memory pointed to by the first argument?
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 11 Jun 2012 18:17:42 +0800
- Subject: builtin_strncat/builtin_strcat reads memory pointed to by the first argument?
Hi,
In "ref_maybe_used_by_call_p_1", the comment says "strcat/strncat
additionally reads memory pointed to by the first argument." I do not
understand these words well, why the first string is read by the two
functions?
Thanks for help.
--
Best Regards.