https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80079
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Or perhaps just init it in the constructor:
diff --git a/gcc/gimple-ssa-store-merging.c b/gcc/gimple-ssa-store-merging.c
index 5bdb4597d615..a6fd8ede467c 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 ()
{
}