re PR tree-optimization/77808 (ICE in duplicate_ssa_name_ptr_info, at tree-ssanames...
authorDoug Gilmore <doug.gilmore@imgtec.com>
Tue, 4 Oct 2016 15:28:23 +0000 (15:28 +0000)
committerMatthew Fortune <mpf@gcc.gnu.org>
Tue, 4 Oct 2016 15:28:23 +0000 (15:28 +0000)
commitfe8b1e839ca91a61440288049a868944346eef4b
treee158821b60fe355cbe259f1e71d6bbcd67a4e995
parent9f06db14fae821a5f34196eab15df0e991c8061a
re PR tree-optimization/77808 (ICE in duplicate_ssa_name_ptr_info, at tree-ssanames.c:630 starting with r240439)

Fix PR tree-optimization/77808

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.

From-SVN: r240749
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr77808.c [new file with mode: 0644]
gcc/tree-ssa-loop-prefetch.c