Paolo Carlini
5f1a5ede6c
pool_allocator.h: Convert to a global free-list, as per the original SGI/HP design...
...
2004-06-08 Paolo Carlini <pcarlini@suse.de>
* include/ext/pool_allocator.h: Convert to a global free-list,
as per the original SGI/HP design: move the implementation
details to struct __pool_base, from which __pool_alloc derives.
* src/allocator.cc: Instantiate __pool_base.
From-SVN: r82794
2004-06-08 22:19:18 +00:00
GCC Administrator
aa07e14d5d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82733.2
2004-06-08 00:16:25 +00:00
Dhruv Matani
345b912f50
2004-06-07 Dhruv Matani <dhruvbird@gmx.net>
...
Paolo Carlini <pcarlini@suse.de>
* testsuite/testsuite_performance.h
(resource_counter::allocated_memory): Make it return the right
number of bytes requested by the allocators/application. This is
the sbrk+mmaped memory.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r82725
2004-06-07 21:56:16 +00:00
GCC Administrator
00dd8ca593
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82677.2
2004-06-07 00:16:15 +00:00
GCC Administrator
ad94c84603
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82658.2
2004-06-06 00:16:15 +00:00
GCC Administrator
0fa96cea26
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82640.2
2004-06-05 00:16:17 +00:00
GCC Administrator
1b6be71988
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82616.2
2004-06-04 00:16:17 +00:00
GCC Administrator
85e933d8ed
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82592.2
2004-06-03 00:16:16 +00:00
Gabriel Dos Reis
b53dcf3e5c
* include/std/std_complex.h (log): Tidy.
...
From-SVN: r82584
2004-06-02 21:04:07 +00:00
GCC Administrator
1e2a2bdc35
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82566.2
2004-06-02 00:16:15 +00:00
GCC Administrator
017f7506b5
Daily bump.
...
From-SVN: r82525
2004-06-01 00:16:14 +00:00
Benjamin Kosnik
7c9fee34e5
linker-map.gnu (GLIBCXX_3.4.1): Add.
...
2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (GLIBCXX_3.4.1): Add.
* testsuite/testsuite_abi.cc: Same.
* configure.ac (libtool_VERSION): Bump to 6:1:0.
* configure: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r82498
2004-05-31 21:19:52 +00:00
GCC Administrator
d1eea9c043
Daily bump.
...
From-SVN: r82472
2004-05-31 00:16:13 +00:00
Gabriel Dos Reis
a4ddde0dee
std_complex.h (complex<_Tp>): Properly indent to follow C++STYLE.
...
* include/std/std_complex.h (complex<_Tp>): Properly indent
to follow C++STYLE.
(complex<>::__rep): New.
(__complex_abs): New. Dispatch to built-ins.
(abs): Use them.
(__complex_arg): New. Dispatch to built-ins.
(arg): Use it.
(__complex_cos): New. Dispatch to built-ins.
(cos): Use it.
(__complex_cosh): New. Dispatch to built-ins.
(cosh): Use it.
(__complex_exp): New. Dispatch to built-ins.
(exp): Use it.
(__complex_log): New. Dispatch to built-ins.
(log): Use it.
(__complex_sin): New. Dispatch to built-ins.
(sin): Use it.
(__complex_sinh): New. Dispatch to built-ins.
(sinh): Use it.
(__complex_sqrt): New. Dispatch to built-ins.
(sqrt): Use it.
(__complex_tan): New. Dispatch to built-ins.
(tan): Use it.
(__complex_tanh): New. Dispatch to built-ins.
(tanh): Use it.
(__complex_pow): New. Dispatch to built-ins.
(pow): Use it.
From-SVN: r82453
2004-05-30 14:41:39 +00:00
GCC Administrator
666e5d7b94
Daily bump.
...
From-SVN: r82436
2004-05-30 00:16:13 +00:00
Richard B. Kreckel
803cb0b5c9
re PR libstdc++/14600 (__gnu_cxx::stdio_sync_filebuf should expose internal FILE*)
...
2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/14600
* include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
* include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
* config/io/basic_file_stdio.cc (__basic_file::file): New.
* config/io/basic_file_stdio.h: Define.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r82419
2004-05-29 14:40:59 +00:00
GCC Administrator
b1243dd57b
Daily bump.
...
From-SVN: r82407
2004-05-29 00:16:16 +00:00
Benjamin Kosnik
e8a382b780
re PR libstdc++/15675 (Doxygen graph are invalid in the libstdc++-v3 online docs)
...
2004-05-27 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15675
* docs/html/documentation.html: Update doxygen links for 3.4.0.
From-SVN: r82355
2004-05-28 04:25:18 +00:00
Jan Beulich
a9c70186f4
create_testsuite_files: Tweak.
...
2004-05-27 Jan Beulich <jbeulich@novell.com>
* scripts/create_testsuite_files: Tweak.
From-SVN: r82354
2004-05-28 04:21:50 +00:00
GCC Administrator
431b736152
Daily bump.
...
From-SVN: r82345
2004-05-28 00:16:14 +00:00
GCC Administrator
67d060c4ed
Daily bump.
...
From-SVN: r82305
2004-05-27 00:16:17 +00:00
GCC Administrator
de29c8bc56
Daily bump.
...
From-SVN: r82271
2004-05-26 00:16:43 +00:00
Benjamin Kosnik
9874adaf91
re PR libstdc++/15489 (testsuite_files determined incorrectly)
...
2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15489
* scripts/create_testsuite_files: Revert xtype change, add non-GNU
bits to do the same thing.
From-SVN: r82250
2004-05-25 17:53:00 +00:00
GCC Administrator
42cc8f8919
Daily bump.
...
From-SVN: r82222
2004-05-25 00:16:18 +00:00
Paolo Carlini
b1c5b5a09b
istream.tcc (ignore): Correctly deal with n == numeric_limits<streamsize>::max().
...
2004-05-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore): Correctly deal with
n == numeric_limits<streamsize>::max().
* testsuite/27_io/basic_istream/ignore/char/2.cc: New.
* include/bits/istream.tcc (basic_istream<>::getline): Prefer
'_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
__n == numeric_limits<>::min().
* include/bits/istream.tcc: Minor tweaks.
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
Tighten.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
From-SVN: r82198
2004-05-24 09:40:56 +00:00
GCC Administrator
8eeea0c1c7
Daily bump.
...
From-SVN: r82180
2004-05-24 00:16:32 +00:00
GCC Administrator
42159b8af9
Daily bump.
...
From-SVN: r82156
2004-05-23 00:16:18 +00:00
Benjamin Kosnik
26c691a88b
re PR libstdc++/12854 (libstdc++ vs. -Weffc++)
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12854
Fixups for -Weffc++.
* include/bits/basic_string.h (basic_string::operator=): Return
pointer to this instead of result of assign. Although redundant,
this doesn't impact resultant codegen.
* include/bits/locale_facets.h (__numpunct_cache): Declare
assignment opxserator and copy constructor private.
(__timepunct_cache): Same.
(__moneypunct_cache): Same.
(collate): Use member initialization list for _M_c_locale_collate.
* config/locale/gnu/messages_members.h: Same.
* config/locale/gnu/time_members.h (__timepunct): Same.
* src/codecvt.cc: Use member initialization list to initialize
_M_c_locale_codecvt.
* src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
* config/os/gnu-linux/ctype_noninline.h: Same.
* src/locale.cc (_Impl): Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* include/bits/basic_ios.h (basic_ios): Complete member
initialization list.
* include/bits/istream.tcc (basic_istream::sentry): Same.
* include/bits/ostream.tcc (basic_ostream::sentry): Same.
* include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
_M_pback to member initialization list.
* include/std/std_streambuf.h: Same.
* include/std/std_sstream.h: Same, for _M_mode.
* src/ios.cc (ios_base): Same.
* include/ext/rope: Make derived classes match exception
specifications. Add copy constructors and assignment operators.
* include/debug/safe_base.h (_Safe_sequence_base): Declare copy
constructor and assignment operator protected.
(_Safe_iterator_base): Same.
* include/debug/formatter.h (_Error_formatter): Define copy
constructor and assignment operator.
* include/backward/strstream: Declare assignment operator and copy
constructor private.
From-SVN: r82153
2004-05-22 23:46:34 +00:00
Benjamin Kosnik
f4a1faa55f
testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h (func_callback): Declare copy
constructor and assignment operator private.
* testsuite/23_containers/deque/cons/clear_allocator.cc: Match
exception specifications of base class.
* testsuite/23_containers/list/cons/clear_allocator.cc: Same.
* testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
* testsuite/23_containers/vector/bool/clear_allocator.cc: New.
From-SVN: r82150
2004-05-22 21:51:07 +00:00
Benjamin Kosnik
52ceb03971
cxxabi.h: Remove duplicated and useless public and private keywords in class declarations.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/cxxabi.h: Remove duplicated and useless public and
private keywords in class declarations. Format. Use
stddef.h. Expose declarations to "C" compilation.
* libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
assignment operator.
(__dyncast_result): Same.
* libsupc++/vec.cc (uncatch_exception): Same, use member
initialization list.
From-SVN: r82147
2004-05-22 21:07:28 +00:00
Benjamin Kosnik
6ad70bf28a
abi_check.cc: Add unistd.h.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc: Add unistd.h.
From-SVN: r82137
2004-05-22 17:08:02 +00:00
Paolo Carlini
fea6ecb746
re PR libstdc++/15565 ([3.4 only] SLES9: leading + sign for unsigned int with showpos)
...
2004-05-22 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/15565
* include/bits/locale_facets.tcc (__int_to_char(unsigned long),
__int_to_char(unsigned long long)): Showpos is not relevant
for unsigned types.
* testsuite/22_locale/num_put/put/char/15565.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
char.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
From-SVN: r82128
2004-05-22 09:02:56 +00:00
Matthias Klose
2461ecbe6c
run_doxygen: Bump required version.
...
2004-05-21 Matthias Klose <doko@debian.org>
* docs/doxygen/run_doxygen: Bump required version.
From-SVN: r82125
2004-05-22 07:07:01 +00:00
Benjamin Kosnik
a3e14d3983
abi.html (libgcc_s): Additions suggested by Matthias Klose.
...
2004-05-21 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
* docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
From-SVN: r82122
2004-05-22 05:01:36 +00:00
GCC Administrator
c5042c5c8b
Daily bump.
...
From-SVN: r82118
2004-05-22 00:16:14 +00:00
Paolo Carlini
32da620821
istream.tcc (ignore): Remove redundant line.
...
2004-05-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore): Remove redundant line.
(readsome): Tidy, closely following 27.6.1.3, p30.
From-SVN: r82103
2004-05-21 17:16:21 +00:00
GCC Administrator
8754a0f6a0
Daily bump.
...
From-SVN: r82081
2004-05-21 00:16:18 +00:00
Paolo Carlini
3adf6cadbb
istream.tcc (operator>>(basic_istream<>&, basic_string<>&)): Use a temporary buffer, thus avoiding reallocation for common case.
...
2004-05-20 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (operator>>(basic_istream<>&,
basic_string<>&)): Use a temporary buffer, thus avoiding
reallocation for common case.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
New.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* include/bits/istream.tcc: Const-ification of a few variables.
* include/bits/ostream.tcc: Trivial formatting fixes and
const-ification of some variables.
From-SVN: r82070
2004-05-20 22:06:40 +00:00
Benjamin Kosnik
66fda8b2e6
re PR libstdc++/15123 (libstdc++-doc: Allocators.3 manpage is empty)
...
2004-05-20 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15123
PR libstdc++/13928
* docs/doxygen/Intro.3: Remove Allocators.3.
Add new extension headers, extension namespace list.
* docs/doxygen/run_doxygen (problematic): Remove Allocators.3
Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
__gnu_debug::. Remove __policy_ renames.
* docs/doxygen/guide.html: Add dot note.
* docs/doxygen/stdheader.cc: Edit, add files.
* docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
From-SVN: r82066
2004-05-20 18:52:09 +00:00
GCC Administrator
a43b9dbe90
Daily bump.
...
From-SVN: r82045
2004-05-20 00:16:12 +00:00
Jonathan Wakely
c6618c0336
re PR libstdc++/11691 (stdio_filebuf leaks FILE buffer when "no close" is requested)
...
2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
* include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
From-SVN: r82019
2004-05-19 09:31:07 +01:00
GCC Administrator
933520b9be
Daily bump.
...
From-SVN: r82012
2004-05-19 00:16:12 +00:00
Jan Beulich
b79634e3d8
re PR libstdc++/15489 (testsuite_files determined incorrectly)
...
2004-05-18 Jan Beulich <jbeulich@novell.com>
PR libstdc++/15489
* scripts/create_testsuite_files: Also find source files through
symbolic links.
2004-05-18 Jan Beulich <jbeulich@novell.com>
PR libstdc++/15488
* testsuite/lib/libstdc++.exp: Make test files writable.
From-SVN: r82002
2004-05-18 18:42:27 +00:00
Paolo Carlini
2ab20654a2
[multiple changes]
...
2004-05-18 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
tweaks.
2004-05-18 Dhruv Matani <dhruvbird@gmx.net>
* include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
allocation loop which removes blocks from the global free list
from O(N) to O(1) when the required blocks are <= the number
available.
From-SVN: r81992
2004-05-18 15:58:33 +00:00
Kaz Kojima
c779c42fc3
re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO)
...
PR bootstrap/15120
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
* */configure: Rebuilt.
From-SVN: r81980
2004-05-18 10:11:38 +00:00
Jonathan Wakely
319da9da6b
enc_filebuf.h: Move concept-check macro to class scope.
...
2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
* include/ext/enc_filebuf.h: Move concept-check macro to class scope.
From-SVN: r81978
2004-05-18 10:09:39 +01:00
Benjamin Kosnik
261e5b9e6a
[multiple changes]
...
2004-05-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
* testsuite/23_containers/deque/14340.cc: New.
* testsuite/23_containers/list/14340.cc: New.
* testsuite/23_containers/map/14340.cc: New.
* testsuite/23_containers/multimap/14340.cc: New.
* testsuite/23_containers/multiset/14340.cc: New.
* testsuite/23_containers/set/14340.cc: New.
* testsuite/23_containers/vector/14340.cc: New.
2004-05-17 Douglas Gregor <gregod@cs.rpi.edu>
PR libstdc++/14340
* include/debug/safe_iterator.h (_Safe_iterator converting
constructor): Only allow declaration to instantiate when the
incoming _Safe_iterator has exactly the right iterator type.
From-SVN: r81970
2004-05-18 03:27:57 +00:00
GCC Administrator
b7cefb87f0
Daily bump.
...
From-SVN: r81964
2004-05-18 00:16:13 +00:00
Jonathan Wakely
b2342b5484
boost_concept_check.h: Fix old attribute syntax.
...
2004-05-17 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/boost_concept_check.h: Fix old attribute syntax.
* testsuite/23_containers/map/modifiers/swap.cc: Define operator<
to pass concept-checks.
* testsuite/23_containers/multimap/modifiers/swap.cc: Same.
* testsuite/23_containers/set/modifiers/swap.cc: Same.
* testsuite/23_containers/multiset/modifiers/swap.cc: Same.
From-SVN: r81953
2004-05-17 22:56:18 +01:00
GCC Administrator
43d95aeec1
Daily bump.
...
From-SVN: r81930
2004-05-17 00:16:46 +00:00