Geoff Berry
180ca3a1bb
bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro on _Nw since _Nw is already the number of words...
...
* stl/bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro
on _Nw since _Nw is already the number of words in the bitset.
From-SVN: r35885
2000-08-22 13:24:01 -06:00
Zack Weinberg
57119aa9eb
top level:
...
* configure: Make enable_threads and enable_shared defaults
explicit. Substitute enable_threads into generated Makefiles.
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
gcc:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
* fixinc/inclhack.def: Likewise.
* fixinc/mkfixinc.sh: Likewise.
* configure: Regenerate.
* fixinc/fixincl.x: Regenerate.
* install.texi: Document equivalence of linux and linux-gnu.
libio:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
libstdc++:
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
Honor --disable-threads.
libstdc++-v3:
* configure: Regenerate after change to ../libtool.m4.
libobjc:
* configure: Regenerate after change to ../libtool.m4.
From-SVN: r35680
2000-08-14 18:08:46 +00:00
Jason Merrill
dc329d2938
straits.h (is_del): Boolify with !!.
...
* std/straits.h (is_del): Boolify with !!.
* std/bastring.cc (compare to charT*): Add rlen==n check.
* std/bastring.h (Rep::grab): Add x86 atomic version.
From-SVN: r35647
2000-08-11 18:41:38 -04:00
David E O'Brien
2c2a534b33
mask_array.h (mask_array): Rename template type parameter to avoid conflicts with ctype.h on BSD systems.
...
* std/mask_array.h (mask_array): Rename template type
parameter to avoid conflicts with ctype.h on BSD systems.
* std/slice_array.h (slice_array): Likewise.
From-SVN: r35486
2000-08-04 11:22:03 -06:00
Gabriel Dos Reis
aae3f0dafd
valarray_array.h (__valarray_sum): Make inline.
...
2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
* std/valarray_array.h(__valarray_sum): Make inline.
From-SVN: r35071
2000-07-17 08:20:06 +00:00
Gabriel Dos Reis
5b2ff385d5
valarray_array.h (__valarray_get_memory, [...]): New functions.
...
2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
* std/valarray_array.h (__valarray_get_memory,
__valarray_get_storage, __valarray_release_storage): New
functions.
(_Array_default_ctor, _Array_init_ctor, _Array_copy_ctor,
_Array_copier): New traits classes.
(__valarray_default_construct): New function. Implements valarray
default construction.
(__valarray_fill_construct): New function. Implements valarray
construction with initializer.
(__valarray_copy_construct): New function. Implements valarray
copy construction.
(__valarray_destroy_elements): New function.
(__valarray_copy, __valarray_fill): Tweak.
(__valarray_sum, __valarray_product): New helper functions.
(_Array<>::free_data): Remove.
(_Array<>::_Array): Tweak.
* std/std_valarray.h (valarray<>::product): Remove.
(valarray<>::valarray): Use __valarray_get_storage.
(valarray<>::shift, valarray<>::cshift, valarray<>::resize):
Tweak.
* std/cpp_type_traits.h: New file.
* valarray.cc (multiplies<>, accumulate, valarray<>::product):
Remove explicit instantiation.
(__valarray_product): New function.
(_Indexer::_Indexer): Use.
From-SVN: r35055
2000-07-15 21:54:06 +00:00
Jean-Francois Panisset
30f747d077
* std/bastring.h (basic_string<>::clear): Add function.
...
From-SVN: r35035
2000-07-14 16:27:45 +00:00
Jason Merrill
ad66df7aa0
stl_function.h (bind1st, bind2nd): Rename __opr to __oper, as __opr is used internally by egcs.
...
* stl_function.h (bind1st, bind2nd): Rename __opr to __oper,
as __opr is used internally by egcs.
* stl_numeric.h (__power, power): Likewise.
* stl_algo.h (transform): Rename __opr to __oper, as __opr is used
internally by egcs.
Reported by Harri Porten <porten@tu-harburg.de>
From-SVN: r34949
2000-07-10 17:04:22 -04:00
Zack Weinberg
774c79ed27
gslice_array.h, [...]: Do not paste anything after 'operator' keyword.
...
* std/gslice_array.h, std/indirect_array.h, std/mask_array.h,
std/slice_array.h, std/std_valarray.h, std/valarray_meta.h:
Do not paste anything after 'operator' keyword.
From-SVN: r34890
2000-07-06 17:42:14 +00:00
Jason Merrill
aaa52048c2
update stuff rule
...
From-SVN: r34684
2000-06-24 16:27:18 -04:00
David Edelsohn
02a18962ab
Makefile.in: Change "pic" to depend on $(PICFLAG), not on $(enable_shared).
...
* Makefile.in: Change "pic" to depend on $(PICFLAG), not
on $(enable_shared).
* aix.ml: Build AIX-style shared library.
From-SVN: r33921
2000-05-15 22:59:31 -04:00
Jakub Jelinek
36348eab5d
config.table: Use mh-sparcpic for sparc*-*-*.
...
* config.table: Use mh-sparcpic for sparc*-*-*.
* configure.in: Use mh-sparcpic for sparc*-*-*.
From-SVN: r33848
2000-05-11 16:16:25 +02:00
Magnus Fromreide
be961d574a
sstream: New file.
...
* sstream: New file.
* Makefile.in (HEADERS): Add it.
From-SVN: r33380
2000-04-24 17:31:57 +00:00
Jason Merrill
ad242caf80
* configure.in: -linux-gnu*, not -linux-gnu.
...
From-SVN: r32823
2000-03-29 21:11:39 -05:00
Gabriel Dos Reis
e5fd03ba40
bastring.h (basic_string<>::push_back): Was missing.
...
2000-03-10 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/bastring.h (basic_string<>::push_back): Was missing.
From-SVN: r32474
2000-03-10 21:20:08 +00:00
Gabriel Dos Reis
f1c9d505f9
stl_iterator.h: Make it possible to use standard class `iterator'.
...
2000-01-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* stl_iterator.h: Make it possible to use standard class
`iterator'.
From-SVN: r31584
2000-01-24 11:25:23 +00:00
Fred Fish
0753683c0a
Makefile.in (SHOPT): New macro, flag to ld to create shared library.
...
* Makefile.in (SHOPT): New macro, flag to ld to create
shared library. Defaults to "-shared".
(SHLIB): Use new SHOPT rather than hardcoded "-shared".
* configure.in: While configuring for *-*-beos*, if
--enable-shared is given, add beos.ml to list of makefile
frags.
* config/beos.ml: New file.
From-SVN: r31373
2000-01-12 20:37:38 -05:00
Jason Merrill
03c3ba3937
Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS).
...
* Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS).
(MYCFLAGS): Include $(CFLAGS).
From-SVN: r30948
1999-12-15 04:13:57 -05:00
Martin v. Löwis
035f4506b1
back out unrelated patch to std:: qualify reverse_iterator
...
From-SVN: r30940
1999-12-15 07:43:22 +00:00
Martin v. Löwis
355e94aaeb
bastring.h (basic_string::basic_string): Rename parameters to avoid shadow warnings.
...
* std/bastring.h (basic_string::basic_string): Rename parameters
to avoid shadow warnings.
* std/bastring.cc (alloc): Likewise.
From-SVN: r30938
1999-12-15 07:37:36 +00:00
Jakub Jelinek
d5191c94d1
bastring.h (class basic_string::Rep): Use proper defines for sparc v9 and fix asm for sparc64.
...
* std/bastring.h (class basic_string::Rep): Use proper defines
for sparc v9 and fix asm for sparc64.
From-SVN: r30906
1999-12-14 09:48:11 +01:00
Mumit Khan
d01db33660
stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread safe runtime.
...
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
safe runtime.
From-SVN: r30902
1999-12-14 07:02:23 +00:00
Benjamin Kosnik
b49df33399
stl_rope.h: Fix initialization order.
...
* stl_rope.h: Fix initialization order.
* stl_deque.h: Use static_casts<size_type>(signed_type).
Co-Authored-By: Matthias Klose <doko@cs.tu-berlin.de>
From-SVN: r30622
1999-11-22 23:35:50 +00:00
Gabriel Dos Reis
9c5c5c8a31
valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget to define tanh.
...
1999-11-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): Don't forget
to define tanh.
From-SVN: r30580
1999-11-19 01:40:12 +00:00
H.J. Lu
aff555c5de
* Makefile.in ($(OBJS)): Depend on stamp-picdir.
...
From-SVN: r30535
1999-11-15 02:01:55 -07:00
Martin v. Löwis
c683f030df
bitset: Include limits.h.
...
* bitset: Include limits.h.
* bitset (class bitset): Declare reference as our friend.
From-SVN: r30430
1999-11-06 16:20:39 +00:00
Gabriel Dos Reis
36a6e29fbb
valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When building meta-expressions don't forget to take the contained closures.
...
1999-11-05 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h (_DEFINE_EXPR_UNARY_FUNCTION): When
building meta-expressions don't forget to take the contained
closures.
From-SVN: r30424
1999-11-05 22:26:12 +00:00
Gabriel Dos Reis
172d33bca7
valarray_meta.h: (_BinClos::_BinClos): Fix typo.
...
1999-10-19 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/valarray_meta.h: (_BinClos::_BinClos): Fix typo.
From-SVN: r30092
1999-10-19 22:10:36 +00:00
Jeff Law
8442ccc4c7
Update copyright.
...
From-SVN: r29677
1999-09-27 11:33:09 -06:00
Gabriel Dos Reis
80d789a4d5
1999-09017 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
...
* std/valarray_array.h (__valarray_copy): Fix typo.
From-SVN: r29476
1999-09-17 15:19:20 +00:00
Gabriel Dos Reis
fcc32134a0
complext.cc (pow): Don't expect floating point promotion in presence of template argument deduction.
...
1999-09-17 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
* std/complext.cc (pow): Don't expect floating point promotion
in presence of template argument deduction. There is no such
thing.
From-SVN: r29474
1999-09-17 09:08:26 +00:00
Andreas Schwab
3b3958fc9a
Move *-*-gnu* pattern below *-*-linux*.
...
From-SVN: r29026
1999-09-01 08:14:33 +00:00
David O'Brien
4adf204e6b
* configure.in: Alphabetize selection of .ml fragments.
...
From-SVN: r28845
1999-08-25 01:33:08 -06:00
Alexandre Oliva
63ecaef554
pthread_alloc: Solaris' ctype.h defines _U to 01; use _Up as template parameter instead.
...
* pthread_alloc: Solaris' ctype.h defines _U to 01; use _Up as
template parameter instead.
From-SVN: r28605
1999-08-09 00:07:21 +00:00
Loren J. Rittle
4adfda4eee
Makefile.in (MARLINK, MSHLINK): Handle library version number components with more than one numeric digit.
...
* Makefile.in (MARLINK, MSHLINK): Handle library version
number components with more than one numeric digit.
From-SVN: r28531
1999-08-05 02:01:12 -06:00
Jeffrey A Law
cfce3d4cd3
* Makefile.in (INTERFACE): Bump to 3.
...
From-SVN: r28161
1999-07-17 23:52:37 -06:00
Markus Gyger
3cda32a10b
stdexcepti.cc (__out_of_range): Use std:: qualifier for names in std.
...
* stdexcepti.cc (__out_of_range): Use std:: qualifier for names
in std.
(__length_error): Likewise.
From-SVN: r28117
1999-07-16 07:07:45 +00:00
Jeffrey A Law
2c9222532d
Makefile.in (VERSION): Bump to 2.10.0.
...
�
* Makefile.in (VERSION): Bump to 2.10.0.
From-SVN: r28036
1999-07-08 18:21:26 -06:00
Martin v. Löwis
8afbe9226d
* stl_queue.h: Rename _M_c to c, and _M_comp to comp.
...
From-SVN: r27581
1999-06-17 23:54:56 +00:00
Jeffrey A Law
12a8f312a5
configure.in (*-*-freebsd2*): Add missing '*' at end of configure string.
...
�
* configure.in (*-*-freebsd2*): Add missing '*' at end of configure
string.
From-SVN: r27414
1999-06-07 17:27:44 -06:00
Gabriel Dos Reis
3653bb9997
* std/std_valarray.h: Don't #include unconditionally <alloca.h>
...
From-SVN: r27364
1999-06-05 09:41:22 +00:00
Gabriel Dos Reis
27ac1891d2
std_valarray.h: New file.
...
* std/std_valarray.h: New file.
* std/slice.h: New file.
* std/slice_array.h: New file.
* std/gslice.h: New file.
* std/gslice_array.h: New file.
* std/mask_array.h: New file.
* std/indirect_array.h: New file.
* std/valarray_array.h: New file.
* std/valarray_array.tcc: New file.
* std/valarray_meta.h: New file.
* valarray.cc: New file.
* valarray: New file
* Makefile.in (OBJS): add valarray.o
(HEADERS): add valarray
(valarray.o): define dependency on valarray.cc
(install): make it possible to install valarray files.
From-SVN: r27354
1999-06-04 19:35:36 +00:00
Robert Lipe
73f3aa96d2
bastring.h (class basic_string:Rep): Encode xlock opcode as .bytes instead of mnemonics.
...
Wed Jun 2 00:21:54 1999 Robert Lipe <robertlipe@usa.net>
* std/bastring.h (class basic_string:Rep): Encode xlock opcode
as .bytes instead of mnemonics.
From-SVN: r27295
1999-06-01 17:27:14 -06:00
Jeff Law
6de94858b9
libchill, libf2c, libobjc:
...
* configure.in (AC_PREREQ): Update to 2.13.
(AC_EXEEXT): Call to find possible file extension.
(compiler_name): Use.
* configure: Regenerate.
libio, libstdc++
* configure.in: Test for ${compiler_name}.exe as well.
From-SVN: r27050
1999-05-19 20:27:28 -06:00
Mark Kettenis
a9a00d29b4
stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for Linux.
...
* stl_config.h: Only define __STL_PTHREADS with GLIBC >= 2 for
Linux.
From-SVN: r26982
1999-05-17 17:03:48 -06:00
Mumit Khan
53df21a6d4
* stl_config.h (__CYGWIN__): Cygwin newlib RTL lacks drand48.
...
From-SVN: r26966
1999-05-16 20:33:37 -06:00
Mark Kettenis
0b8b672215
configure.in: Add shared library support for the Hurd (*-*-gnu*).
...
* configure.in: Add shared library support for the Hurd
(*-*-gnu*).
* config/gnu.ml: New file.
From-SVN: r26942
1999-05-14 20:06:37 -06:00
Jason Merrill
d960c105fc
configure.in (compiler_name): Don't do the skip-this-dir thing if we're reconfiguring.
...
* configure.in (compiler_name): Don't do the skip-this-dir thing
if we're reconfiguring.
From-SVN: r26899
1999-05-12 04:39:23 -04:00
Ulrich Drepper
f2fee5bef0
Update.
...
From-SVN: r26821
1999-05-07 10:16:23 +00:00
Ulrich Drepper
4ff8ec301f
(class basic_string::Rep): Make release member function thread-safe for
...
ix86 (x>=4) and UltraSPARC.
From-SVN: r26820
1999-05-07 10:16:09 +00:00