[Bug target/15319] [x86] ICE in change_stack, at reg-stack.c:2299

uros at kss-loka dot si gcc-bugzilla@gcc.gnu.org
Thu May 13 14:26:00 GMT 2004


------- Additional Comments From uros at kss-loka dot si  2004-05-13 06:12 -------
Please, look at the bottom of page
http://gcc.gnu.org/onlinedocs/gcc-3.3.3/gcc/Extended-Asm.html#Extended%20Asm :

i386 floating point asm operands

There are several rules on the usage of stack-like regs in asm_operands insns.
These rules apply only to the operands that are stack-like regs...

According to these rules, your asm should be written as:

  asm ("fmulp": "=t" (ret): "0" (ret), "u" (tmp): "st(1)");


-- 


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



More information about the Gcc-bugs mailing list