[Bug c/38925] gcc ignores use of %rbp via assembly, generates bad code
thutt at vmware dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 13:08:00 GMT 2009
------- 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 this can be done?
The whole point of this report is to show that what you claim isn't
actually possible. If it is possible, then that'd be a great thing --
but someone shoould update the docs to show that it is possible.
Here's a wacky idea -- update the constraints system for the x86_64 target
to allow any available (and specific) register to be constrained.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925
More information about the Gcc-bugs
mailing list