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

2009-01-21 Thread thutt at vmware dot com
--- Comment #5 from thutt at vmware dot com 2009-01-21 13:06 --- (In reply to comment #2) I think this code is undefined as you are using uninitialized variables for input of the inline-asm. I disagree. The registers are intended to have their *current* values saved across the

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

2009-01-21 Thread thutt at vmware dot com
--- Comment #6 from thutt at vmware dot com 2009-01-21 13:08 --- (In reply to comment #3) Also I think the inline-asm could be improved so that the inline-asm just marks the registers that are clobbered instead of doing the mess you are doing. Can you provide an example of how

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

2009-01-20 Thread thutt at vmware dot com
--- Comment #1 from thutt at vmware dot com 2009-01-20 21:27 --- See bug 16331 too. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925