public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/15319] New: [x86] ICE in change_stack, at reg-stack.c:2299
@ 2004-05-06 14:34 kim at mail333 dot com
2004-05-06 15:00 ` [Bug target/15319] " pinskia at gcc dot gnu dot org
2004-05-13 14:26 ` uros at kss-loka dot si
0 siblings, 2 replies; 3+ messages in thread
From: kim at mail333 dot com @ 2004-05-06 14:34 UTC (permalink / raw)
To: gcc-bugs
ilya@kim:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.3 (Debian 20040401)
ilya@kim:~/Cprogs/10$ gcc 2.cpp
2.cpp: In function `int main()':
2.cpp:9: internal compiler error: in change_stack, at reg-stack.c:2299
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Source code:
main()
{
double ret = 0;
double tmp = 0;
asm ( " fmul %1,%0"
: "=t" (ret)
: "u" (tmp)
);
}
--
Summary: [x86] ICE in change_stack, at reg-stack.c:2299
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kim at mail333 dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15319
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/15319] [x86] ICE in change_stack, at reg-stack.c:2299
2004-05-06 14:34 [Bug inline-asm/15319] New: [x86] ICE in change_stack, at reg-stack.c:2299 kim at mail333 dot com
@ 2004-05-06 15:00 ` pinskia at gcc dot gnu dot org
2004-05-13 14:26 ` uros at kss-loka dot si
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-06 15:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-06 15:00 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|inline-asm |target
Ever Confirmed| |1
Known to fail| |2.95.3 3.0.4 3.2.3 3.3.3
| |3.4.0 3.5.0
Last reconfirmed|0000-00-00 00:00:00 |2004-05-06 15:00:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15319
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/15319] [x86] ICE in change_stack, at reg-stack.c:2299
2004-05-06 14:34 [Bug inline-asm/15319] New: [x86] ICE in change_stack, at reg-stack.c:2299 kim at mail333 dot com
2004-05-06 15:00 ` [Bug target/15319] " pinskia at gcc dot gnu dot org
@ 2004-05-13 14:26 ` uros at kss-loka dot si
1 sibling, 0 replies; 3+ messages in thread
From: uros at kss-loka dot si @ 2004-05-13 14:26 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-13 6:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-06 14:34 [Bug inline-asm/15319] New: [x86] ICE in change_stack, at reg-stack.c:2299 kim at mail333 dot com
2004-05-06 15:00 ` [Bug target/15319] " pinskia at gcc dot gnu dot org
2004-05-13 14:26 ` uros at kss-loka dot si
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).