This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/66665] Increment instruction is not propagated into address operand
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Jun 2015 17:52:54 +0000
- Subject: [Bug rtl-optimization/66665] Increment instruction is not propagated into address operand
- Auto-submitted: auto-generated
- References: <bug-66665-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66665
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-06-30
Ever confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
It is caused by the combination of -mregparm=3 -mtune=i686.
-mregparm=3 -mtune=generic -O2 gives
f:
.cfi_startproc
movsbl a+1(%eax), %edx
movsbl b+1(%eax), %eax
addl %edx, %eax
ret
.cfi_endproc