This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/42612] post-increment addressing not used
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2010 11:43:30 -0000
- Subject: [Bug rtl-optimization/42612] post-increment addressing not used
- References: <bug-42612-10439@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from bonzini at gnu dot org 2010-01-05 11:43 -------
Combine is doing what it knows best (forming complicated instructions,
addressing modes in this case); to do this it is already damaging the nice
shape of the code after the tree optimizers, and synthesizing things like x+2.
I wonder more about what the RTL looks like before auto-inc-dec, and whether it
is missing something because it must be taught some trick...
Is this a regression from pre-DF (that would be 4.2)?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42612