This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17272] Extra store emitted when concatenating inline assembly sections.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2007 22:55:11 -0000
- Subject: [Bug tree-optimization/17272] Extra store emitted when concatenating inline assembly sections.
- References: <bug-17272-8546@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-01-28 22:55 -------
We get:
main:
leal 4(%esp), %ecx
andl $-16, %esp
movl $118, %edx
movl %edx, %eax
pushl -4(%ecx)
#APP
addb %dl, %al
#NO_APP
pushl %ebp
#APP
subb %dl, %al
#NO_APP
movl %esp, %ebp
pushl %ecx
movsbl %al,%eax
popl %ecx
leave
leal -4(%ecx), %esp
ret
On the mainline so I am going to call this as fixed, 4.2.0 still had the movb
and the move from LC0.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17272