http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53550
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-04 09:27:04 UTC --- Author: jakub Date: Mon Jun 4 09:27:00 2012 New Revision: 188170 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188170 Log: PR tree-optimization/53550 * tree-ssa-loop-niter.c (number_of_iterations_cond): If type is POINTER_TYPE_P, use sizetype as step type instead of type. * gcc.dg/pr53550.c: New test. Added: branches/gcc-4_7-branch/gcc/testsuite/gcc.dg/pr53550.c Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/testsuite/ChangeLog branches/gcc-4_7-branch/gcc/tree-ssa-loop-niter.c