https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77808
--- Comment #1 from mpf at gcc dot gnu.org --- Author: mpf Date: Tue Oct 4 15:28:23 2016 New Revision: 240749 URL: https://gcc.gnu.org/viewcvs?rev=240749&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/pr77808.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-prefetch.c