https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66449
--- Comment #4 from Dmitry G. Dyachenko <dimhen at gmail dot com> --- (In reply to amker from comment #3) > Author: amker > Date: Tue Jun 23 02:27:49 2015 > New Revision: 224769 > > URL: https://gcc.gnu.org/viewcvs?rev=224769&root=gcc&view=rev > Log: > > PR tree-optimization/66449 > * tree-ssa-loop-niter.c (loop_exits_before_overflow): Use > POINTER_PLUS_EXPR for pointers. > > gcc/testsuite > PR tree-optimization/66449 > * gcc.dg/vect/pr66449.c: New test. > > > Added: > trunk/gcc/testsuite/gcc.dg/tree-ssa/pr66449.c > Modified: > trunk/gcc/ChangeLog > trunk/gcc/testsuite/ChangeLog > trunk/gcc/tree-ssa-loop-niter.c PASS for me. Thanks!