[Bug inline-asm/39078] Registers in on clober list are cloberred when compiled with optimization (x86_64) ?

valery_reznic at yahoo dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 11 15:56:00 GMT 2009



------- Comment #10 from valery_reznic at yahoo dot com  2009-02-11 15:56 -------
(In reply to comment #9)
> (In reply to comment #8)
> 
> > In the inline assembler I MYSELF put arguments in the places where MY (by the
> > way, written in assembler) function expect to get them.
> 
> Then you actually don't need a compiler... ;)
My assembler code is inline. It's surrounded by fairly large amount of the C
code, so I need compiler. I just don't care if it know how to pass arguments to
my function - I do it myself (and it work)

So could you please explain why you said that I shouldn't use 'call' inside
inline asm ?


> 
> > I need nothing from gcc.
> 
> True.
I mean "I don't need it to know how pass args to my function"

> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39078



More information about the Gcc-bugs mailing list