This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/45260] [4.5/4.6 Regression] g++4.5: -prefetch-loop-arrays internal compiler error: in verify_expr, at tree-cfg.c:2541



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]