------- Comment #4 from changpeng dot fang at amd dot com 2010-08-16 22:39 ------- This bug should be related to VIEW_CONVERT_EXPR.
If I use the following statement to filter the prefetch, the bug will go away: if (contains_view_convert_expr_p (ref)) return false; Otherwise, the prefetch pass will generate "ref + offset" as the prefetching address. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45260