aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@gnu.org>2000-05-01 18:14:03 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2000-05-01 18:14:03 +0000
commitb7fe530c1e209f8f7588ce369bae21725346a662 (patch)
tree1dfccbc898a07ceef5c3b4c1125571b78f88cf22
parent2f9b43773f4d1df92e793921f73e3b65e1a08dd1 (diff)
downloadgcc-b7fe530c1e209f8f7588ce369bae21725346a662.zip
gcc-b7fe530c1e209f8f7588ce369bae21725346a662.tar.gz
gcc-b7fe530c1e209f8f7588ce369bae21725346a662.tar.bz2
atomicity.h: Fix typo.
2000-04-30 Benjamin Kosnik <bkoz@gnu.org> * config/cpu/powerpc/bits/atomicity.h: Fix typo. * mknumeric_limits (trait_name): Fix copyright notice. * src/gen-num-limits.cc: Explicitly instantiate epsilon and round_error data members of struct value. This works around weak-linking issues on AIX, HPUX. From-SVN: r33580
-rw-r--r--libstdc++-v3/ChangeLog2
-rw-r--r--libstdc++-v3/config/cpu/powerpc/bits/atomicity.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 226e2ef..cc093dd 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,7 @@
2000-04-30 Benjamin Kosnik <bkoz@gnu.org>
+ * config/cpu/powerpc/bits/atomicity.h (__compare_and_swap): Fix typo.
+
* mknumeric_limits (trait_name): Fix copyright notice.
* src/gen-num-limits.cc: Explicitly instantiate epsilon and
round_error data members of struct value. This works around
diff --git a/libstdc++-v3/config/cpu/powerpc/bits/atomicity.h b/libstdc++-v3/config/cpu/powerpc/bits/atomicity.h
index 02b5e60..7e7c176 100644
--- a/libstdc++-v3/config/cpu/powerpc/bits/atomicity.h
+++ b/libstdc++-v3/config/cpu/powerpc/bits/atomicity.h
@@ -57,7 +57,7 @@ __atomic_add (volatile _Atomic_word *__mem, int __val)
static __ATOMICITY_INLINE int
__attribute__ ((unused))
-__compare_and_swap (volatile long *p, long int __oldval, long int __newval)
+__compare_and_swap (volatile long *__p, long int __oldval, long int __newval)
{
int __result;
__asm__ ("\