summaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r--gcc/tree-predcom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index b1dce08e017..1338a0480a7 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -2300,7 +2300,7 @@ try_combine_chains (vec<chain_p> *chains)
{
unsigned i, j;
chain_p ch1, ch2, cch;
- vec<chain_p> worklist = vec<chain_p>();
+ vec<chain_p> worklist = vNULL;
FOR_EACH_VEC_ELT (*chains, i, ch1)
if (chain_can_be_combined_p (ch1))
@@ -2415,7 +2415,7 @@ tree_predictive_commoning_loop (struct loop *loop)
vec<data_reference_p> datarefs;
vec<ddr_p> dependences;
struct component *components;
- vec<chain_p> chains = vec<chain_p>();
+ vec<chain_p> chains = vNULL;
unsigned unroll_factor;
struct tree_niter_desc desc;
bool unroll = false;