[PATCH] c++: Implement -Wuninitialized for mem-initializers [PR19808]
Jan Hubicka
hubicka@ucw.cz
Tue Nov 17 09:37:38 GMT 2020
> On Tue, Nov 17, 2020 at 09:44:26AM +0100, Jan Hubicka wrote:
> > > I think for unused functions we don't even gimplify unused functions, the
> > > cgraph code just throws them away. Even trying just to run the first few
> > > passes (gimplification up to uninit1) would have several high costs,
> > Note that uninit1 is a late pass so it is not just few passes we speak
>
> You are speaking about uninit2?
> The one I'm talking about is:
> PUSH_INSERT_PASSES_WITHIN (pass_build_ssa_passes)
> NEXT_PASS (pass_fixup_cfg);
> NEXT_PASS (pass_build_ssa);
> NEXT_PASS (pass_warn_nonnull_compare);
> NEXT_PASS (pass_early_warn_uninitialized);
> and that is run right after 023t.ssa
that one is called "*early_warn_uninitialized"
and thus have no dump file. One with comes with uninit1 dump is the late
pass.
Honza
>
> Jakub
>
More information about the Gcc-patches
mailing list