This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15319] [x86] ICE in change_stack, at reg-stack.c:2299
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 May 2004 06:12:21 -0000
- Subject: [Bug target/15319] [x86] ICE in change_stack, at reg-stack.c:2299
- References: <20040506143441.15319.kim@mail333.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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