[pkg-boost-commits] r14031 - in boost/branches/debian-1.33.1: boost/detail debian

Domenico Andreoli cavok at alioth.debian.org
Fri Jan 5 10:30:22 CET 2007


Author: cavok
Date: 2007-01-05 10:30:21 +0100 (Fri, 05 Jan 2007)
New Revision: 14031

Modified:
   boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ia64.hpp
   boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ppc.hpp
   boost/branches/debian-1.33.1/debian/changelog
Log:
added missing constraints on inline assembly. closes #405599.

Modified: boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ia64.hpp
===================================================================
--- boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ia64.hpp	2006-11-21 11:25:23 UTC (rev 14030)
+++ boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ia64.hpp	2007-01-05 09:30:21 UTC (rev 14031)
@@ -35,7 +35,7 @@
     // cheaper.
     __asm__ ("fetchadd8.rel %0=[%2],1" :
          "=r"(tmp), "=m"(*pw) :
-         "r"(pw));
+         "r"(pw), "m"( *pw ));
 }
 
 inline long atomic_decrement( long * pw )
@@ -48,7 +48,7 @@
              "     cmp.eq        p7,p0=1,%0 ;; \n"
              "(p7) ld8.acq       %0=[%2]    " :
              "=&r"(rv), "=m"(*pw) :
-             "r"(pw) :
+             "r"(pw), "m"( *pw ) :
              "p7");
 
     return rv;
@@ -72,7 +72,7 @@
          "     mov          %0=%1             ;; \n"
          "1:" : 
          "=&r"(rv), "=&r"(tmp), "=&r"(tmp2), "=m"(*pw) :
-         "r"(pw) :
+         "r"(pw), "m"( *pw ) :
          "ar.ccv", "p7");
 
     return rv;

Modified: boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ppc.hpp
===================================================================
--- boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ppc.hpp	2006-11-21 11:25:23 UTC (rev 14030)
+++ boost/branches/debian-1.33.1/boost/detail/sp_counted_base_gcc_ppc.hpp	2007-01-05 09:30:21 UTC (rev 14031)
@@ -47,7 +47,7 @@
         "bne- 0b":
 
         "=m"( *pw ), "=&b"( tmp ):
-        "r"( pw ):
+        "r"( pw ), "m"( *pw ):
         "cc"
     );
 }
@@ -69,7 +69,7 @@
         "isync":
 
         "=m"( *pw ), "=&b"( rv ):
-        "r"( pw ):
+        "r"( pw ), "m"( *pw ):
         "memory", "cc"
     );
 
@@ -95,7 +95,7 @@
         "bne- 0b":
 
         "=m"( *pw ), "=&b"( rv ):
-        "r"( pw ):
+        "r"( pw ), "m"( *pw ):
         "cc"
     );
 

Modified: boost/branches/debian-1.33.1/debian/changelog
===================================================================
--- boost/branches/debian-1.33.1/debian/changelog	2006-11-21 11:25:23 UTC (rev 14030)
+++ boost/branches/debian-1.33.1/debian/changelog	2007-01-05 09:30:21 UTC (rev 14031)
@@ -1,3 +1,12 @@
+boost (1.33.1-10) unstable; urgency=medium
+
+  * boost/detail/sp_counted_base_gcc_ia64.hpp,
+    boost/detail/sp_counted_base_gcc_ppc.hpp: added missing constraints
+    on inline assembly.  Closes: #405599.
+    Patch courtesy of Aaron M. Ucko <ucko at debian.org>, from upstream CVS.
+
+ -- Domenico Andreoli <cavok at debian.org>  Fri,  5 Jan 2007 10:23:10 +0100
+
 boost (1.33.1-9) unstable; urgency=low
 
   * boost/property_map_iterator.hpp: added missing namespace.  Closes: #397654.




More information about the pkg-boost-commits mailing list