This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] 4.8: Fix RTX sharing problem in ifcvt
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 11 Apr 2013 16:40:37 +0200
- Subject: Re: [PATCH] 4.8: Fix RTX sharing problem in ifcvt
- References: <20130411134456 dot GA12483 at bart>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Apr 11, 2013 at 03:44:56PM +0200, Andreas Krebbel wrote:
> 2013-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
>
> * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as
> well.
Ok, thanks.
> *** gcc/ifcvt.c.orig
> --- gcc/ifcvt.c
> *************** end_ifcvt_sequence (struct noce_if_info
> *** 964,969 ****
> --- 964,971 ----
>
> set_used_flags (if_info->x);
> set_used_flags (if_info->cond);
> + set_used_flags (if_info->a);
> + set_used_flags (if_info->b);
> unshare_all_rtl_in_chain (seq);
> end_sequence ();
>
Jakub