This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/47917] snprintf(..., "const string") should be optimized into memcpy
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Feb 2011 13:23:36 +0000
- Subject: [Bug middle-end/47917] snprintf(..., "const string") should be optimized into memcpy
- Auto-submitted: auto-generated
- References: <bug-47917-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47917
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-28 13:23:20 UTC ---
Created attachment 23490
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23490
gcc46-pr47917.patch
Untested patch.