This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix rtl sharing in ifcvt try 2
- From: Richard Henderson <rth at redhat dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Jun 2003 10:01:11 -0700
- Subject: Re: Fix rtl sharing in ifcvt try 2
- References: <20030627195134.GF1455@kam.mff.cuni.cz>
On Fri, Jun 27, 2003 at 09:51:34PM +0200, Jan Hubicka wrote:
> + /* Even tought we take care to unshare seqeuence after emit, we have
> + to unshare it's arguments so we don't get sharing in between
> + the sequence and outer chain. */
> + cond = copy_rtx (cond);
> + x = copy_rtx (x);
This part is easier to do centrally (without wasting memory) if you
do *not* reset the "mark set" bit in unshare_all_rtl_in_chain, but
instead *set* the bit in noce_process_if_block.
r~