https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80079
--- Comment #5 from ktkachov at gcc dot gnu.org --- (In reply to Markus Trippelsdorf from comment #4) > 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 () > { > } That would work too