[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: Bugreport
From: "Benno Tietz" <benno.tietz () arcormail ! de>
Date: 1999-01-31 19:34:45
[Download RAW message or body]
Hi,
here is my bugreport. gcc-2.7.2.1 compiles the files without any problems.
Benno Tietz
BYW: Thnx for producing such a good compiler.
Compiler version:
batty:/home/benno/hyatt/16.3 # gcc -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.93.04/specs
gcc version egcs-2.93.04 19990131 (gcc2 ss-980929 experimental)
File producing trouble:
========= ut.i =============
typedef struct {
unsigned long fds_bits [(1024 / (8 * sizeof(unsigned long)) ) ];
} __kernel_fd_set;
int CheckInput(void) {
__kernel_fd_set readfds;
__asm__ __volatile__("cld ; rep ; stosl" :"=m" (*(__kernel_fd_set *) ( &readfds \
)) :"a" (0), "c" ((1024 / (8 * sizeof(unsigned long)) ) ), "D" ((__kernel_fd_set *) ( \
&readfds )) :"cx","di") ; }
============================
Command-line option:
batty:/home/benno/hyatt/16.3 # gcc -O2 -c ut.i
ut.i: In function `CheckInput':
ut.i:8: Invalid `asm' statement:
ut.i:8: fixed or forbidden register 2 (cx) was spilled for class CREG.
Machine-type:
AMD K6-2 running Linux 2.0.35
Compiler building:
./configure --enable-haifa
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2>here is my bugreport. gcc-2.7.2.1
compiles the files without any problems.<BR></FONT><FONT color=#000000
face=Arial size=2></FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2>Benno Tietz</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>BYW: Thnx for producing such a good
compiler.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>Compiler version:</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>batty:/home/benno/hyatt/16.3 # gcc
-v<BR>Reading specs from
/usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.93.04/specs</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2><BR>gcc version egcs-2.93.04 19990131
(gcc2 ss-980929 experimental) </FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2><BR>File producing
trouble:</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>========= ut.i
=============<BR>typedef struct {<BR> unsigned long fds_bits [(1024 / (8 *
sizeof(unsigned long)) ) ];<BR>} __kernel_fd_set;</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>int CheckInput(void) {<BR>
__kernel_fd_set readfds;</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2> __asm__ __volatile__("cld
; rep ; stosl" :"=m" (*(__kernel_fd_set *) (
&readfds )) :"a" (0), "c" ((1024 / (8 *
sizeof(unsigned long)) ) ), "D" ((__kernel_fd_set *) (
&readfds )) :"cx","di")
;<BR>}<BR>============================</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2><BR>Command-line option:</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>batty:/home/benno/hyatt/16.3 #
gcc -O2 -c ut.i<BR>ut.i: In function `CheckInput':<BR>ut.i:8: Invalid
`asm' statement:<BR>ut.i:8: fixed or forbidden register 2 (cx) was spilled for
class CREG.</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2><BR>Machine-type:</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>AMD K6-2 running Linux
2.0.35</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2><BR>Compiler building:</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2>./configure
--enable-haifa</FONT></DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV>
<DIV><FONT color=#000000 face=Arial size=2></FONT> </DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic