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: 11 Jul 2008 11:56:08 -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 #3 from bonzini at gnu dot org 2008-07-11 11:56 -------
Yes, the code produced shows that something (probably fwprop, I trust Andrew
though I'd like to see dumps) is turning the GIMPLE code
temp = a[0];
a[1] = temp;
temp++;
into something harder to optimize. It might be also a pass-ordering problem.
--
bonzini at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Summary|PowerPC generated PTR code |PowerPC missed autoincrement
|inefficiency |opportunity
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36770