https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66648
--- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Sun Aug 16 17:52:51 2015 New Revision: 226926 URL: https://gcc.gnu.org/viewcvs?rev=226926&root=gcc&view=rev Log: Backport from mainline: 2015-07-25 Uros Bizjak <ubiz...@gmail.com> PR target/66648 * config/i386/i386.c (ix86_expand_set_or_movmem): Emit main loop execution guard when min_size is less than size_needed. testsuite/ChangeLog: Backport from mainline: 2015-07-25 Uros Bizjak <ubiz...@gmail.com> PR target/66648 * gcc.target/i386/pr66648.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr66648.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/i386/i386.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog