This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR33667, invalid rtx sharing
- From: "Richard Guenther" <richard dot guenther at gmail dot com>
- To: "Michael Matz" <matz at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 5 Oct 2007 17:11:57 +0200
- Subject: Re: [patch] PR33667, invalid rtx sharing
- References: <Pine.LNX.4.64.0710051701220.23011@wotan.suse.de>
On 10/5/07, Michael Matz <matz@suse.de> wrote:
> Hi,
>
> lower-subreg doesn't update the match_dups correctly. Before reload they
> need to be kept unshared, hence validate_change can't be used. We could
> use either copy_rtx or validate_unshare_change, of which I chose the
> latter.
>
> Fixes the bug, I've put it to bootstrapping and regtesting. Okay for
> trunk?
>
> I'll include the testcase from the bugreport as gcc.dg/pr33667.c .
Ok if it passes bootstrap/regtest.
Thanks,
Richard.
> Ciao,
> Michael.
> * lower-subreg.c (decompose_multiword_subregs): Use
> validate_unshare_change().