This is the mail archive of the
mailing list for the GCC project.
Re: RFA: tuples merge for GIMPLE_MODIFY_STMT
Aldy Hernandez wrote on 11/11/06 04:47:
It shouldn't block anything. We don't really use INIT_EXPR for anything
I have fixed this in the included patch, by generating a GIMPLE_MODIFY_STMT
instead of INIT_EXPR. I'm not to gimplifier savvy enough to know if this will
miss out on optimizations, or if I'm side stepping some tenet of the
gimplifier. This approach fixes the problem, bootstraps, and does not
introduce any regressions.
What do you think?
Yes, this looks fine.
* tree.c (build2_stat): Fix comment.
* gimplify.c (internal_get_tmp_var): Change INIT_EXPR to
(tree_to_gimple_tuple): Remove debugging statement.
Do not re-set the DEF_STMT link.