This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: Fix PR tree-optimization/77808, ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>, Doug Gilmore <Doug dot Gilmore at imgtec dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Christophe Lyon <christophe dot lyon at linaro dot org>
- Date: Tue, 4 Oct 2016 15:29:49 +0000
- Subject: RE: Fix PR tree-optimization/77808, ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439
- Authentication-results: sourceware.org; auth=none
- References: <F007E4D1AE275F468C186A52E051529CE4564F4F@BADAG02.ba.imgtec.org> <CAFiYyc0GTUR51u8=YjzR=C9Anh1CedzXkOCnOhDP40k+5R=6Wg@mail.gmail.com>
Richard Biener <richard.guenther@gmail.com> writes:
> On Sat, Oct 1, 2016 at 3:35 AM, Doug Gilmore <Doug.Gilmore@imgtec.com>
> wrote:
> > My commit r240439 didn't handle the situation where setting --param
> > prefetch-latency=0 can cause the prefetch address to be the same as
> > the original address. In this case, no copying of points-to
> > information should be done.
> >
> > Bootstrapped and regression tested on x86_64-linux, ok for trunk?
>
> Ok.
>
> RIchard.
Committed as r240749.
(I updated the changelog to say what changed)
gcc/
PR tree-optimization/77808
* tree-ssa-loop-prefetch.c (issue_prefetch_ref): Check base_addr
and addr are different before copying points-to information.
gcc/testsuite
PR tree-optimization/77808
* gcc.dg/tree-ssa/pr77808.c: New testcase.
Matthew