>>>>> Jason Riedy writes:

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

 > 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?
You're 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])                       \

The same patch has already been applied to the sources.  The patch
will be in the next glibc 2.1 test release.

Andreas

1999-01-07  Ulrich Drepper  <[EMAIL PROTECTED]>

        * sysdeps/i386/bits/select.h (__FD_ZERO): Remove early clobbers
        from c and D register output.



-- 
 Andreas Jaeger   [EMAIL PROTECTED]    [EMAIL PROTECTED]
  for pgp-key finger [EMAIL PROTECTED]

Reply via email to