The following patch was necessary to convince connection.c in 
ORBit (gnome's orb, from cvs) to build with an egcs from cvs.  

I have yet to prune down the code to a reasonable example; every
time I have a small example, it compiles.  Color me confused.  
I'll work on that some more rsn, but I've stuck the error at the 
end of the message in case someone can immediately tell what's 
wrong.  (Yes, I know, this isn't the egcs list, but maybe this 
will follow the same path as __builtin_const_p.)

I'm not sure why the &s were included.  The two arguments in 
question already overlap the stated inputs, so they shouldn't be 
necessary, right?

--- select.h.old        Mon Jan  4 02:13:14 1999
+++ select.h    Fri Jan  8 19:32:51 1999
@@ -28,7 +28,7 @@
     int __d0, __d1;                                                          \
     __asm__ __volatile__ ("cld; rep; stosl"                                  \
                          : "=m" (__FDS_BITS (fdsp)[__FDELT (__FD_SETSIZE)]), \
-                           "=&c" (__d0), "=&D" (__d1)                        \
+                           "=c" (__d0), "=D" (__d1)                          \
                          : "a" (0), "1" (sizeof (__fd_set)                   \
                                          / sizeof (__fd_mask)),              \
                            "2" (&__FDS_BITS (fdsp)[0])                       \

Jason

------
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. 
-I../../src -I/usr/local/lib/glib/include -I/usr/local/include  -g -O2 -c connection.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src -I/usr/local/lib/glib/include 
-I/usr/local/include -g -O2 -Wp,-MD,.deps/connection.p -c -fPIC -DPIC connection.c
connection.c: In function `giop_init':
connection.c:111: internal error--unrecognizable insn:
(insn 106 176 108 (parallel[ 
            (set (mem/s:SI (plus:SI (reg:SI 5 %edi)
                        (const_int 128)) 20)
                (asm_operands/v ("cld; rep; stosl") ("=m") 0[ 
                        (reg:SI 0 %eax)
                        (reg/v:SI 2 %ecx)
                        (reg:SI 5 %edi)
                    ] 
                    [ 
                        (asm_input:SI ("a"))
                        (asm_input:SI ("1"))
                        (asm_input:SI ("2"))
                    ]  ("connection.c") 100))
            (set (reg/v:SI 2 %ecx)
                (asm_operands/v ("cld; rep; stosl") ("=&c") 1[ 
                        (reg:SI 0 %eax)
                        (reg/v:SI 2 %ecx)
                        (reg:SI 5 %edi)
                    ] 
                    [ 
                        (asm_input:SI ("a"))
                        (asm_input:SI ("1"))
                        (asm_input:SI ("2"))
                    ]  ("connection.c") 100))
            (set (reg:SI 5 %edi)
                (asm_operands/v ("cld; rep; stosl") ("=&D") 2[ 
                        (reg:SI 0 %eax)
                        (reg/v:SI 2 %ecx)
                        (reg:SI 5 %edi)
                    ] 
                    [ 
                        (asm_input:SI ("a"))
                        (asm_input:SI ("1"))
                        (asm_input:SI ("2"))
                    ]  ("connection.c") 100))
            (clobber (mem:BLK (scratch) 0))
        ] ) -1 (insn_list 102 (nil))
    (nil))
../../egcs/gcc/toplev.c:1397: Internal compiler error in function fatal_insn
Please submit a full bug report to `[EMAIL PROTECTED]'.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make: *** [connection.lo] Error 1

Reply via email to