On Thu, Nov 7, 2013 at 3:14 PM, Aldy Hernandez <al...@redhat.com> wrote: > SSA_NAME_DEF_STMT is set by default in gimple_build_assign(), by virtue of > gimple_assign_set_lhs: > >> static inline void >> gimple_assign_set_lhs (gimple gs, tree lhs) >> { >> GIMPLE_CHECK (gs, GIMPLE_ASSIGN); >> gimple_set_op (gs, 0, lhs); >> >> if (lhs && TREE_CODE (lhs) == SSA_NAME) >> SSA_NAME_DEF_STMT (lhs) = gs; >> } > > > This patch removes all the unnecessary sets to SSA_NAME_DEF_STMT in the > compiler. > > Tested on x86-64 Linux. > > OK for trunk?
OK. Diego.