https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61060
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue May 13 08:31:29 2014 New Revision: 210353 URL: http://gcc.gnu.org/viewcvs?rev=210353&root=gcc&view=rev Log: PR target/61060 * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp is const0_rtx, return immediately. Don't test count == 0 when it is always true. * gcc.dg/pr61060.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/pr61060.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