[Bug tree-optimization/53550] [4.6/4.7/4.8 regression] ICE with -O{1,2,3} -fprefetch-loop-arrays in build2_stat, at tree.c:3803
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 4 09:27:00 GMT 2012
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
More information about the Gcc-bugs
mailing list