This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] copy prop vs. debugging
- From: Jan Vroonhof <jan dot vroonhof at ntlworld dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 03 Jul 2003 18:15:47 +0100
- Subject: Re: [tree-ssa] copy prop vs. debugging
- Cancel-lock: sha1:cmvwV+7CXTEjFh70mWakad9W+PI=
- References: <wvlof0bvdws.fsf@prospero.boston.redhat.com>
[Usual caveat: Just lurking so feel free to ignore if I am not making sense]
Jason Merrill <jason@redhat.com> writes:
> When a temporary is copied into a variable, any dominated uses of that
> variable are replaced with uses of the temporary.
Isn't this always all usages (because of SSA form)?. If so can you not
do the inverse, i.e. replace all occurrences of (this SSA name of) the
temporary with (this SSA name of) the variable and then delete the
copy.
Jan