[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code
hpreg at vmware dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 10:20:00 GMT 2009
------- Comment #4 from hpreg at vmware dot com 2009-01-21 10:19 -------
Andrew,
With respect to your comment #2: initializing all the variables to 0 does not
solve the problem, which is that gcc does not understand that %rbp is
clobbered.
With respect to your comment #3: as explained in the bug description, it is
_not_ possible to mark r8 through r15 as clobbered in an inline-asm statement.
Hence the "mess".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925
More information about the Gcc-bugs
mailing list