From faec5f24736ac2550ef9c4080200edb20d2b1e22 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 17 Mar 2017 13:14:42 +0000 Subject: [PATCH] re PR tree-optimization/80079 (Conditional jump or move depends on uninitialised value(s): gimple-ssa-store-merging.c:768) PR tree-optimization/80079 * gimple-ssa-store-merging.c (class pass_store_merging): Initialize m_stores_head. Co-Authored-By: Markus Trippelsdorf From-SVN: r246224 --- gcc/ChangeLog | 7 +++++++ gcc/gimple-ssa-store-merging.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9af58154dd2..cced3ceafd2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2017-03-17 Marek Polacek + Markus Trippelsdorf + + PR tree-optimization/80079 + * gimple-ssa-store-merging.c (class pass_store_merging): Initialize + m_stores_head. + 2017-03-17 Richard Biener PR middle-end/80075 diff --git a/gcc/gimple-ssa-store-merging.c b/gcc/gimple-ssa-store-merging.c index 5bdb4597d61..17a95a50b1f 100644 --- a/gcc/gimple-ssa-store-merging.c +++ b/gcc/gimple-ssa-store-merging.c @@ -725,7 +725,7 @@ class pass_store_merging : public gimple_opt_pass { public: pass_store_merging (gcc::context *ctxt) - : gimple_opt_pass (pass_data_tree_store_merging, ctxt) + : gimple_opt_pass (pass_data_tree_store_merging, ctxt), m_stores_head () { } -- 2.30.2