This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code
- 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: 22 Jan 2009 03:51:52 -0000
- Subject: [Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code
- References: <bug-38925-1331@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2009-01-22 03:51 -------
The problem here is that you are using unitialized local register variables so
the register allocator does not know any better. Anyways it works correctly on
the trunk and I don't have any other compiler to test with really (this is both
with and without IRA).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |inline-asm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925