This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29751] not optimizing access a[0] , a[1]
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 25 Jan 2012 09:14:07 +0000
- Subject: [Bug tree-optimization/29751] not optimizing access a[0] , a[1]
- Auto-submitted: auto-generated
- References: <bug-29751-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29751
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-25 09:14:07 UTC ---
(In reply to comment #9)
> Created attachment 25847 [details]
> more correct patch
>
> An updated patch which is more correct than the previous patch and it works
> correctly with MEM_REF which has an offset. Also moves some code to do
> addition of the bit offset to a function.
I just noticed it does not have the fix for
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44838 in it really.
Will retest and submit tomorrow.