From aa85c7f7e19a0a0f6acd11279fe3598cce269b05 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 11 May 1999 15:11:30 +0000 Subject: [PATCH] (FD_ZERO): Remove unneccessary memory output operand which irritates gcc. From-SVN: r26890 --- gcc/fixinc/fixinc.x86-linux-gnu | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/gcc/fixinc/fixinc.x86-linux-gnu b/gcc/fixinc/fixinc.x86-linux-gnu index 1bee37d4171..ddb1b542e1f 100644 --- a/gcc/fixinc/fixinc.x86-linux-gnu +++ b/gcc/fixinc/fixinc.x86-linux-gnu @@ -45,9 +45,7 @@ cat <<'__EOF__' >$LIB/$file do { \ int __d0, __d1; \ __asm__ __volatile__ ("cld; rep; stosl" \ - : "=m" (((__fd_mask *) \ - (fdsetp))[__FDELT (__FD_SETSIZE)]), \ - "=&c" (__d0), "=&D" (__d1) \ + : "=&c" (__d0), "=&D" (__d1) \ : "a" (0), "1" (sizeof (__fd_set) \ / sizeof (__fd_mask)), \ "2" ((__fd_mask *) (fdsetp)) \ @@ -84,8 +82,7 @@ cat <<'__EOF__' >$LIB/$file do { \ int __d0, __d1; \ __asm__ __volatile__("cld ; rep ; stosl" \ - : "=m" (*(__kernel_fd_set *) (fdsetp)), \ - "=&c" (__d0), "=&D" (__d1) \ + : "=&c" (__d0), "=&D" (__d1) \ : "a" (0), "1" (__FDSET_LONGS), \ "2" ((__kernel_fd_set *) (fdsetp)) :"memory"); \ } while (0) @@ -120,8 +117,7 @@ cat <<'__EOF__' >$LIB/$file do { \ int __d0, __d1; \ __asm__ __volatile__("cld ; rep ; stosl" \ - : "=m" (*(__fd_set *) (fdsetp)), \ - "=&c" (__d0), "=&D" (__d1) \ + : "=&c" (__d0), "=&D" (__d1) \ : "a" (0), "1" (__FDSET_LONGS), \ "2" ((__fd_set *) (fdsetp)) :"memory"); \ } while (0)