This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix rtl sharing in ifcvt try 2


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]