This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/60256] No -Wuninitialized warning for strcpy copying to self
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jan 2017 14:46:41 +0000
- Subject: [Bug c/60256] No -Wuninitialized warning for strcpy copying to self
- Auto-submitted: auto-generated
- References: <bug-60256-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60256
--- Comment #8 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
For strcpy(s, s) see Bug 65452, which also contains a patch for
-Wsame-arguments.