This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to fix rtx sharing problem in noce_process_if_block
- From: Richard Henderson <rth at redhat dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Jan 2002 15:25:22 -0800
- Subject: Re: Patch to fix rtx sharing problem in noce_process_if_block
- References: <wvnwuxz8yb9.fsf@talisman.cambridge.redhat.com>
On Wed, Jan 30, 2002 at 06:54:02PM +0000, Richard Sandiford wrote:
> * ifcvt.c (noce_process_if_block): Make a copy of the destination
> when copying back from a temporary.
This is ok.
I wonder about other places in here that we might be missing.
Perhaps it would be better to be able to invoke unshare_all_rtl
on a range of insns. Probably fodder for 3.2 though...
r~