This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/80638] -ansi suppresses -Wstringop-overflow for mempcpy
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 May 2017 05:06:14 +0000
- Subject: [Bug c/80638] -ansi suppresses -Wstringop-overflow for mempcpy
- Auto-submitted: auto-generated
- References: <bug-80638-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80638
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
If you had used __builtin_mempcpy you would have got the warning.