summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-06-17 22:19:05 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-06-17 22:19:05 +0000
commitccb7c7d52b827dccf4e8d17e85d0b368129f86e4 (patch)
tree84f60f7aa775495c2c7bb69f5f74262e54737a85 /gnu
parent9f7ca0860e08f79f0b3321ad5bb412d7ffff1722 (diff)
Update to 990608 snapshot.
Highlights: - official fix for an alpha bug, - cpp changes semantic slightly, - valarray in libstdc++.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/egcs/libstdc++/std/valarray_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/egcs/libstdc++/std/valarray_array.h b/gnu/egcs/libstdc++/std/valarray_array.h
index a0b5818fd8b..f711e52a165 100644
--- a/gnu/egcs/libstdc++/std/valarray_array.h
+++ b/gnu/egcs/libstdc++/std/valarray_array.h
@@ -73,7 +73,7 @@ template<typename _Tp>
inline void
__valarray_copy (const _Tp* __restrict__ __a, size_t __n, size_t __s,
_Tp* __restrict__ __b)
-{ for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b = *__a; }
+{ for (size_t __i=0; __i<__n; ++__i, ++__b, __a += __s) *__b += *__a; }
// copy plain __a[<__n>] in strided __b[<__n : __s>]
template<typename _Tp>