summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.c
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-23 18:08:47 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-23 18:08:47 +0000
commit3aee830bec8aae752d9f4010bf90fe58c4ebe022 (patch)
tree15ef2ef3fc0aaefb7b7db0519e9977b3a569e374 /gcc/tree-vect-loop.c
parent09a6f6f50279485f8727c768e35c18cc6a22afd4 (diff)
downloadgcc-3aee830bec8aae752d9f4010bf90fe58c4ebe022.tar.gz
2010-08-23 Kai Tietz <kai.tietz@onevision.com>
* tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Pre-initialize innerloop_iters to one. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163477 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-loop.c')
-rw-r--r--gcc/tree-vect-loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c
index 371d30d72d9..21dca3a4e0d 100644
--- a/gcc/tree-vect-loop.c
+++ b/gcc/tree-vect-loop.c
@@ -2031,6 +2031,7 @@ vect_get_single_scalar_iteraion_cost (loop_vec_info loop_vinfo)
statements. */
/* FORNOW. */
+ innerloop_iters = 1;
if (loop->inner)
innerloop_iters = 50; /* FIXME */