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: [patch] PR33667, invalid rtx sharing


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().


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