On Tue, Jan 10, 2017 at 3:38 AM, David Malcolm <dmalc...@redhat.com> wrote: > gcc/ChangeLog: > * final.c (rest_of_clean_state): Don't call delete_tree_ssa for > __RTL functions.
Heh, so you are lucky that nothing looks at this. MEM_EXPRs can contain SSA names these days (for points-to info), but I suppose you don't parse MEM_EXPRs fully yet. I'm somewhat inclined to tell you calling init_tree_ssa () for __RTL functions... Richard. > --- > gcc/final.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/gcc/final.c b/gcc/final.c > index 8a4c9f8..2483381 100644 > --- a/gcc/final.c > +++ b/gcc/final.c > @@ -4699,7 +4699,8 @@ rest_of_clean_state (void) > > free_bb_for_insn (); > > - delete_tree_ssa (cfun); > + if (cfun->gimple_df) > + delete_tree_ssa (cfun); > > /* We can reduce stack alignment on call site only when we are sure that > the function body just produced will be actually used in the final > -- > 1.8.5.3 >