Commit Graph

103 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
199343c591 Update.
From-SVN: r26819
1999-05-07 10:14:34 +00:00
Alexandre Oliva
ceff9b1445 Fixed some old ChangeLog entries I wrote before becoming aware of the GNU
coding standards.

From-SVN: r26679
1999-04-27 13:27:29 +00:00
Loren J. Rittle
3af5b6b508 freebsd.ml (LIBS): Add ARLINK.
* config/freebsd.ml (LIBS): Add ARLINK.
        * config/openbsd.ml (LIBS): Add ARLINK.

From-SVN: r26640
1999-04-25 19:30:37 -06:00
Ulrich Drepper
554241c33e Bring over lost changes from Cygnus's directory.
* Missing ChangeLog entries.
	* Whitespace fixes.
	* Enable multilib by default
	* One stl fix (#ifdef -> #if)

From-SVN: r26234
1999-04-06 21:20:00 -06:00
H.J. Lu
88101ab976 configure (gxx_include_dir): Removed.
* configure (gxx_include_dir): Removed.
	* configure.in (gxx_include_dir): Handle it.
	* Makefile.in: Likewise.
	* libio/configure.in (gxx_include_dir): Handle it.
	* libio/Makefile.in: Likewise.
	* libstdc++/configure.in (gxx_include_dir): Handle it.
	* libstdc++/Makefile.in: Likewise.

From-SVN: r26126
1999-04-02 07:17:49 -07:00
Mumit Khan
5e34b217d1 configure.in (EXEEXT): Define.
Wed Mar 24 22:36:45 1999  Mumit Khan  <khan@xraylith.wisc.edu>
        * configure.in (EXEEXT): Define.
        (compiler_name): Use.

From-SVN: r25951
1999-03-24 14:44:48 -07:00
Franz Sirl
4ccfc0c3b4 * configure.in: Add mh-*pic handling for alpha, arm, powerpc
From-SVN: r25691
1999-03-10 17:11:25 -07:00
Doug Rabson
268e8aeed4 configure.in: Support shared libs on FreeBSD 3.x and 4.x
* configure.in: Support shared libs on FreeBSD 3.x and 4.x
        * config/freebsd.ml: A copy of config/linux.ml since they are both
        ELF and both have a shared libm.

From-SVN: r25594
1999-03-04 18:21:14 -07:00
Jason Merrill
1b14496f06 * configure.in: Fix INSTALLDIR sed pattern for Solaris sed.
From-SVN: r25419
1999-02-24 18:50:35 -05:00
Jeffrey A Law
477d3dbc51 string, [...]: Revert recent change.
* string, std/straits.h, std/bastring.h: Revert recent change.  Needs
        some libiberty support before it can be re-enabled.

From-SVN: r25336
1999-02-20 05:21:51 -07:00
Marc Espie
eca8ff3207 configure.in: Handle OpenBSD with and without threads.
* configure.in: Handle OpenBSD with and without threads.
        * config/openbsd.ml: New file.
        * config/openbsd.mt: New file.

From-SVN: r25291
1999-02-18 11:57:55 -07:00
Baron Roberts
ebf8476966 Update.
From-SVN: r25248
1999-02-16 11:58:49 +00:00
Jason Merrill
ad902c98f8 * Makefile.in (stuff2): Tweak.
From-SVN: r25073
1999-02-07 10:57:14 -05:00
Ulrich Drepper
7f84e195e0 Update.
From-SVN: r25031
1999-02-04 15:53:14 +00:00
Mumit Khan
64e8166e7a x86-interix.ml: New file.
* config/x86-interix.ml: New file.
	* configure.in (i[3456]86-*-interix*): Add shared library support.

From-SVN: r24914
1999-01-30 00:09:11 -07:00
Ulrich Drepper
39268973a6 configure.in: Test for "ln -s" and set LN_S in generated Makefile.
* configure.in: Test for "ln -s" and set LN_S in generated Makefile.
        * Makefile.in: Use $(LN_S) instead of explicitly ln -s.

From-SVN: r24655
1999-01-13 16:04:01 +00:00