This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46562] CCP currently needs iteration for &a[i]
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Nov 2010 16:06:47 +0000
- Subject: [Bug tree-optimization/46562] CCP currently needs iteration for &a[i]
- Auto-submitted: auto-generated
- References: <bug-46562-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46562
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-23 16:06:44 UTC ---
Created attachment 22498
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22498
wip patch
Work in progress patch. Needs to transition functions elsewhere, hookize
fold_const_aggregate_ref and friends and also make VRP use
gimple_fold_stmt_to_constant.