]> granicus.if.org Git - libatomic_ops/commitdiff
Put 'FIXME' word where missed
authorIvan Maidanski <ivmai@mail.ru>
Sat, 15 Oct 2011 11:27:56 +0000 (15:27 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 15 Oct 2011 11:27:56 +0000 (15:27 +0400)
* src/atomic_ops.h (AO_compiler_barrier): Add FIXME.
* src/atomic_ops/sysdeps/gcc/cris.h (header comment): Likewise.
* src/atomic_ops/sysdeps/armcc/arm_v6.h: Replace C++ style comment
with ANSI C one.

src/atomic_ops.h
src/atomic_ops/sysdeps/armcc/arm_v6.h
src/atomic_ops/sysdeps/gcc/cris.h

index 36376b9de559d6e9e634ba777f2191cfba3596ac..334dba0accb1e73c7596af994461fa3c1912a950 100644 (file)
         /* But the documentation warns about VC++ 2003 and earlier.     */
 # endif
 #elif defined(__INTEL_COMPILER)
-# define AO_compiler_barrier() __memory_barrier() /* Too strong? IA64-only? */
+# define AO_compiler_barrier() __memory_barrier()
+                                        /* FIXME: Too strong? IA64-only? */
 #elif defined(_HPUX_SOURCE)
 # if defined(__ia64)
 #   include <machine/sys/inline.h>
index a2395875f862d757ac8621a81d71292e8a305b35..7b43151716e4175e5eb0d4de5b675a60e4ebb7b3 100644 (file)
@@ -229,4 +229,4 @@ AO_compare_double_and_swap_double(volatile AO_double_t *addr,
 }
 #define AO_HAVE_compare_double_and_swap_double
 
-#endif // __TARGET_ARCH_ARM
+#endif /* __TARGET_ARCH_ARM >= 6 */
index cbca1e70e542b4ef1205e184b7a1831fae42577a..5b9a6f3780d9c682fd738d7b3eb066ce66bd6491 100644 (file)
  *
  * Most of this code originally comes from Hans-Peter Nilsson.  It is included
  * here with his permission.
- *
- * This version has not been tested.  It was coped here from a GC
- * patch so that we wouldn't lose the code in the upgrade to gc7.
  */
 
+/* FIXME: seems to be untested.         */
+
 #include "../all_atomic_load_store.h"
 
 #include "../ordered.h"  /* There are no multiprocessor implementations. */