From c62ea79568e0fda65355e6e74db18d43d79b1ce8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 19 Feb 2001 16:41:46 +0100 Subject: [PATCH] atomicity.h (__compare_and_swap): Fix typo. 2001-02-19 Andreas Jaeger * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap): Fix typo. From-SVN: r39886 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/config/cpu/sparc/sparc64/bits/atomicity.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 6203763a16d..629c73cf5f6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-02-19 Andreas Jaeger + + * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap): + Fix typo. + 2001-02-16 Greg Bumgardner libstdc++/1734 diff --git a/libstdc++-v3/config/cpu/sparc/sparc64/bits/atomicity.h b/libstdc++-v3/config/cpu/sparc/sparc64/bits/atomicity.h index 4257e839171..c00c5e26d5e 100644 --- a/libstdc++-v3/config/cpu/sparc/sparc64/bits/atomicity.h +++ b/libstdc++-v3/config/cpu/sparc/sparc64/bits/atomicity.h @@ -1,5 +1,5 @@ /* Low-level functions for atomic operations. Sparc64 version. - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -61,7 +61,7 @@ static inline int __attribute__ ((__unused__)) __compare_and_swap (volatile long *__p, long __oldval, long __newval) { - register int __tmp, + register int __tmp; register long __tmp2; __asm__ __volatile__("1: ldx [%4], %0\n\t" -- 2.30.2