This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36770] PowerPC missed autoincrement opportunity
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2008 14:13:27 -0000
- Subject: [Bug middle-end/36770] PowerPC missed autoincrement opportunity
- References: <bug-36770-16150@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from bonzini at gnu dot org 2008-07-18 14:13 -------
Hmm, even that wouldn't restore the optimization. The problem here is that
there is another access via b, like
a <- b + c
*b
*(b + c)
The bad placement of the first assignment (bad because doing it the other way
round would have lower register pressure) in turn happens as soon as
gimplification.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36770