http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55838
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-01 14:07:41 UTC --- Author: jakub Date: Fri Feb 1 14:07:35 2013 New Revision: 195654 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195654 Log: Backported from mainline 2013-01-03 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/55838 * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on iv0.step, iv1.step and step. * gcc.dg/pr55838.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr55838.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/loop-iv.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog