This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix combiner with added_sets_[12] (PR rtl-optimization/52060)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 Feb 2012 16:29:56 +0100
- Subject: Re: [PATCH] Fix combiner with added_sets_[12] (PR rtl-optimization/52060)
- References: <20120206204319.GT18768@tyan-ft48-01.lab.bos.redhat.com>
> 2012-02-06 Jakub Jelinek <jakub@redhat.com>
>
> PR rtl-optimization/52060
> * combine.c (try_combine): Add i0src_copy and i0src_copy2 variables,
> copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already
> before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy
> and/or i0src_copy2 when needed.
>
> * gcc.dg/torture/pr52060.c: New test.
OK, thanks.
--
Eric Botcazou