summaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-22 13:00:13 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-22 13:00:13 +0000
commit13b31e0b10d1a01f1f549f6967e5bc6113991aa8 (patch)
treecbfd6a9481608f8a350b28a1b648d1d23276673d /gcc/tree-predcom.c
parentb7c599a6fa8a0c3acdef3d80bb4ad4bc48cb1aec (diff)
downloadgcc-13b31e0b10d1a01f1f549f6967e5bc6113991aa8.tar.gz
* tree-vect-loop.c (vect_transform_loop): Initialize
check_profitability to false. * tree-predcom.c (try_combine_chains): Free the worklist vector at the end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190592 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r--gcc/tree-predcom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index b13300c4d11..684a57a23b3 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -2331,6 +2331,8 @@ try_combine_chains (VEC (chain_p, heap) **chains)
}
}
}
+
+ VEC_free (chain_p, heap, worklist);
}
/* Prepare initializers for CHAIN in LOOP. Returns false if this is