Fix PR tree-optimization/77808, ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439

Christophe Lyon christophe.lyon@linaro.org
Sat Oct 1 14:57:00 GMT 2016


Hi Doug,


On 1 October 2016 at 03:35, 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?
>
> Doug

I can confirm that your patch fixes the ICE I was seeing.

However, the new testcase does not pass on low end
architectures:
cc1: warning: -fprefetch-loop-arrays not supported for this target
(try -march switches)

Can you add a guard?

Thanks,

Christophe



More information about the Gcc-patches mailing list