This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]