GCC Administrator
f7b62acd2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90604.2
2004-11-14 00:16:19 +00:00
GCC Administrator
7a4702d25b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90563.2
2004-11-13 00:16:33 +00:00
Andrew Pinski
690e11b8f5
re PR testsuite/14264 (testsuite should set LC_ALL/LANG to C)
...
2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
PR other/14264
* lib/g++.exp: Set LC_ALL and LANG to C.
* lib/gcc-dg.exp: Likewise.
* lib/gfortran.exp: Likewise.
* lib/objc.exp: Likewise.
* lib/treelang.exp: Likewise.
2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
PR other/14264
* testsuite/lib/libstdc++.exp: Set LC_ALL and LANG to C.
2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
PR other/14264
* testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
From-SVN: r90539
2004-11-12 11:43:57 -08:00
GCC Administrator
49a94e56d8
Daily bump.
...
From-SVN: r90513
2004-11-12 00:16:11 +00:00
GCC Administrator
ed50f1785b
Daily bump.
...
From-SVN: r90462
2004-11-11 00:16:33 +00:00
GCC Administrator
df2ae6e216
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90377.2
2004-11-10 00:16:21 +00:00
Paolo Carlini
cf5c6c8d31
locale_facets.tcc (time_get<>::do_get_weekday, [...]): Absolutely avoid dereferencing end iterators.
...
2004-11-09 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::do_get_weekday,
time_get<>::do_get_monthname): Absolutely avoid dereferencing
end iterators.
* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
Minor tweak.
From-SVN: r90341
2004-11-09 12:49:20 +00:00
GCC Administrator
d9e75e864c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90322.2
2004-11-09 00:16:36 +00:00
Benjamin Kosnik
948af8ae9c
re PR libstdc++/17664 ([3.4 only] Crash in std::map when using _GLIBCXX_DEBUG with multithreading)
...
2004-11-08 Benjamin Kosnik <bkoz@redhat.com>
Doug Gregor <dgregor@cs.indiana.edu>
PR libstdc++/17664
* src/debug.cc: Just use one mutex.
Co-Authored-By: Doug Gregor <dgregor@cs.indiana.edu>
Co-Authored-By: Lothar Werzinger <lothar@xcerla.com>
From-SVN: r90296
2004-11-08 20:47:25 +00:00
Benjamin Kosnik
8736cbe6f2
configure.ac (libtool_VERSION): To 6:4:0.
...
2004-11-08 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac (libtool_VERSION): To 6:4:0.
* configure: Regenerate.
* config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4.
* docs/doxygen/user.cfg.in: Add more extension files.
From-SVN: r90292
2004-11-08 20:06:30 +00:00
Paolo Carlini
15fb0dbeb7
streambuf_iterator.h (class istreambuf_iterator): Consistently use _M_c to cache the current char...
...
2004-11-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/streambuf_iterator.h (class istreambuf_iterator):
Consistently use _M_c to cache the current char, i.e., not only
when operator++(int) is involved; change _M_c to mutable.
(_M_get()): Always save the return value of _M_sbuf->sgetc() into
_M_c.
* testsuite/22_locale/time_get/get_monthname/char/1.cc: Fix
(long standing) typo.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/char/1.cc: Likewise.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Likewise.
From-SVN: r90275
2004-11-08 17:55:54 +00:00
Paolo Carlini
adb31ad60d
istream.tcc (getline(char_type*, streamsize, char_type), [...]): Restore a generic version of the functions...
...
2004-11-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (getline(char_type*, streamsize,
char_type), ignore(streamsize), ignore(streamsize, int_type)):
Restore a generic version of the functions, not using the
protected members of basic_streambuf.
* include/std/std_istream.h (getline(char_type*, streamsize,
char_type), ignore(streamsize), ignore(streamsize, int_type)):
Declare optimized specializations for char and wchar_t.
* src/istream.cc: New file, define the latter.
* src/Makefile.am: Add.
* src/Makefile.in: Regenerate.
From-SVN: r90268
2004-11-08 15:46:28 +00:00
GCC Administrator
1a89f1b506
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90249.2
2004-11-08 00:16:15 +00:00
Paolo Carlini
32890afef4
ifstream_getline-2.cc: New.
...
2004-11-07 Paolo Carlini <pcarlini@suse.de>
* testsuite/performance/27_io/ifstream_getline-2.cc: New.
From-SVN: r90229
2004-11-07 12:35:48 +00:00
GCC Administrator
d5d9e59836
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90213.2
2004-11-07 00:16:18 +00:00
GCC Administrator
bc54e9de0c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90153.2
2004-11-06 00:16:42 +00:00
Benjamin Kosnik
6309eefc3d
re PR libstdc++/17218 (unknown subjects in generated libstdc++ manpages)
...
2004-11-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/17218
PR libstdc++/17223
* docs/doxygen/filter: Remove.
* docs/doxygen/filter.sed: Remove.
* docs/doxygen/mainpage.html: Add link to functions.
* docs/doxygen/run_doxygen: Changes due to new source filtering.
* docs/doxygen/user.cfg.in: Update to doxygen 1.3.9.1, tweak.
* include/bits/allocator.h: Tweaks for doxygen.
* include/bits/char_traits.h: Same.
* include/bits/codecvt.h: Same.
* include/bits/concurrence.h: Same.
* include/bits/locale_facets.h: Same.
* include/ext/array_allocator.h: Same.
* include/ext/debug_allocator.h: Same.
* include/ext/malloc_allocator.h: Same.
* include/ext/mt_allocator.h: Same.
* include/ext/new_allocator.h: Same.
* include/ext/pool_allocator.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/std/std_memory.h: Same.
* include/tr1/array: Same.
* include/tr1/tuple: Same.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
* config/os/gnu-linux/ctype_base.h: Same.
From-SVN: r90137
2004-11-05 19:58:03 +00:00
GCC Administrator
30a8b5f807
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90097.2
2004-11-05 00:16:46 +00:00
Paolo Carlini
eba7452ba8
locale_facets.tcc (num_get<>::do_get(bool&)): Evaluate __beg == __end the exact strict minimum number of times.
...
2004-11-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::do_get(bool&)):
Evaluate __beg == __end the exact strict minimum number of times.
From-SVN: r90058
2004-11-04 11:29:30 +00:00
GCC Administrator
76969785b4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90044.2
2004-11-04 00:16:19 +00:00
Jonathan Wakely
cb1d5dbaeb
stl_numeric.h (partial_sum, [...]): Avoid dereferencing two times __first in the prologue.
...
2004-11-03 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/stl_numeric.h (partial_sum, adjacent_difference):
Avoid dereferencing two times __first in the prologue.
From-SVN: r90038
2004-11-03 22:22:34 +00:00
Paolo Carlini
dae62ba8fd
stl_numeric.h: Trivial formatting fixes.
...
2004-11-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_numeric.h: Trivial formatting fixes.
From-SVN: r90024
2004-11-03 10:14:24 +00:00
Benjamin Kosnik
34a133a808
c++config: Spacing.
...
2004-11-03 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Spacing.
* libsupc++/del_op.cc: Include c++config.h.
* libsupc++/del_opnt.cc: Same.
* libsupc++/del_opv.cc: Same.
* libsupc++/del_opvnt.cc: Same.
* libsupc++/new_op.cc: Same.
* libsupc++/new_opnt.cc: Same.
* libsupc++/new_opv.cc: Same.
* libsupc++/new_opvnt.cc: Same.
From-SVN: r90021
2004-11-03 04:07:22 +00:00
Aaron W. LaFramboise
5cc781508e
* config/os/bsd/darwin/os_defines.h
...
(_GLIBCXX_WEAK_DEFINITION): Define.
* include/bits/c++config (_GLIBCXX_WEAK_DEFINITION): Define.
* libsupc++/del_op.cc (operator delete(void *)): Use
_GLIBCXX_WEAK_DEFINITION.
* libsupc++/del_opnt.cc
(operator delete(void *, const std::nothrow_t&)): Same.
* libsupc++/del_opv.cc (operator delete[](void *)): Same.
* libsupc++/del_opvnt.cc
(operator delete[](void *, const std::nothrow_t&)): Same.
* libsupc++/new_op.cc (operator new(std::size_t)): Same.
* libsupc++/new_opnt.cc
(operator new(std::size_t, const std::nothrow_t&)): Same
* libsupc++/new_opv.cc (operator new[](std::size_t)): Same.
* libsupc++/new_opvnt.cc
(operator new[](std::size_t, const std::nothrow_t&)): Same.
From-SVN: r90017
2004-11-02 21:00:00 -06:00
Paolo Carlini
e597a4d366
locale_facets.tcc (num_get<>::_M_extract_int): Evaluate *__beg the exact strict minimum number of times...
...
2004-11-02 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_int):
Evaluate *__beg the exact strict minimum number of times; likewise
for __beg != __end; slightly simplify main parsing loop.
From-SVN: r90012
2004-11-03 01:05:08 +00:00
GCC Administrator
fc706639e8
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r90009.2
2004-11-03 00:16:21 +00:00
Benjamin Kosnik
656cee9aa2
re PR libstdc++/17627 (M68060 fails with libstdc++-v3/config/cpu/m68k/atomicity.h)
...
2004-11-02 Benjamin Kosnik <bkoz@redhat.com>
Lothar Werzinger <lothar@xcerla.com>
PR libstdc++/17627
* src/debug.cc: Include concurrence, use mutexes.
(_Safe_iterator_base::_M_attach): Here.
(_Safe_iterator_base::_M_detach): Here.
Co-Authored-By: Lothar Werzinger <lothar@xcerla.com>
From-SVN: r90004
2004-11-02 23:56:56 +00:00
Benjamin Kosnik
bd80bd9b93
re PR libstdc++/17922 (Spurious warnings about std::ios_base::seekdir)
...
2004-11-02 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/17922
* include/bits/ios_base.h : Add enum values.
* testsuite/testsuite_hooks.h (bitmask_operators): Add function.
* testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
* testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
* testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
* testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
* testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
* testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
* testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.
* config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
* src/ios.cc: Same.
* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
From-SVN: r89996
2004-11-02 19:00:19 +00:00
GCC Administrator
8bf639fa5e
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89968.2
2004-11-02 00:16:20 +00:00
Momchil Velikov
c137586a8e
re PR libstdc++/18185 ([3.4 only] Unhandled exceptions leak)
...
2004-11-01 Momchil Velikov <velco@fadata.bg>
PR libstdc++/18185
* libsupc++/eh_globals.cc (get_globals_dtor): Delete unhandled
exceptions.
* testsuite/thread/18185.cc: New.
From-SVN: r89962
2004-11-01 22:47:33 +00:00
Chris Jefferson
d68e653fae
re PR libstdc++/18159 (tr1/tuple is broken on darwin)
...
2004-11-01 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/18159
* include/tr1/tuple (get(pair)): Change occurrences of _I to _Int.
(get(const pair)): Likewise.
From-SVN: r89944
2004-11-01 17:53:24 +00:00
Paolo Carlini
8dc5fa3267
locale_facets.tcc (num_get<>::_M_extract_float): Evaluate *__beg the exact strict minimum number of times...
...
2004-11-01 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
Evaluate *__beg the exact strict minimum number of times; likewise
for __beg != __end; in the main parsing loop, call ++__beg in two
places only. The former is also a correctness issue, because,
according to the standard (22.2.2.1.2, Stage 2), 'in' shall be
dereferenced only one time for each increment.
From-SVN: r89940
2004-11-01 11:31:44 +00:00
GCC Administrator
f388b490a8
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89927.2
2004-11-01 00:16:16 +00:00
Benjamin Kosnik
8d511b9097
re PR tree-optimization/16728 (std::set tests for allocator/insert core in make check-performance)
...
2004-10-31 Benjamin Kosnik <bkoz@redhat.com>
PR c++/16728
* testsuite/23_containers/set/modifiers/16728.cc: New.
From-SVN: r89921
2004-11-01 00:02:42 +00:00
GCC Administrator
13747d3eda
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89905.2
2004-10-31 00:16:45 +00:00
Paolo Carlini
de2d7877ba
bitmap_allocator.h (allocate(size_type)): Minor tweak.
...
2004-10-30 Paolo Carlini <pcarlini@suse.de>
* include/ext/bitmap_allocator.h (allocate(size_type)): Minor tweak.
* testsuite/ext/bitmap_allocator/check_delete.cc: New.
* testsuite/ext/bitmap_allocator/check_new.cc: Likewise.
From-SVN: r89899
2004-10-30 21:44:04 +00:00
Geoffrey Keating
f9686024ee
configure.host (darwin*): Set os_include_dir to a separate directory for Darwin.
...
* configure.host (darwin*): Set os_include_dir to a separate directory
for Darwin.
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind,
'darwin'.
* config/locale/darwin/ctype_members.cc: New.
* config/os/bsd/darwin/ctype_base.h: New.
* config/os/bsd/darwin/ctype_inline.h: New.
* config/os/bsd/darwin/ctype_noninline.h: New.
* config/os/bsd/darwin/os_defines.h: New.
From-SVN: r89874
2004-10-30 01:03:12 +00:00
Geoffrey Keating
8b5a12daa0
12658_thread-1.cc: Only xfail on Linux.
...
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Only xfail
on Linux.
From-SVN: r89872
2004-10-30 00:54:22 +00:00
GCC Administrator
d2019928fd
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89870.2
2004-10-30 00:16:21 +00:00
Chris Jefferson
158414d635
stl_algo.h (find_first_of(,,,,pred)): Remove invalid EqualOpConcept.
...
2004-10-29 Chris Jefferson <chris@bubblescope.net>
* include/bit/stl_algo.h (find_first_of(,,,,pred)):
Remove invalid EqualOpConcept.
* testsuite/25_algorithms/find_first_of/concept_check_1.cc: New.
From-SVN: r89853
2004-10-29 21:44:55 +00:00
Benjamin Kosnik
a53f986f91
testsuite_allocator.h (check_delete): New.
...
2004-10-29 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_allocator.h (check_delete): New.
(check_new): Simplify.
* testsuite/ext/array_allocator/check_delete.cc: New.
* testsuite/ext/array_allocator/check_new.cc: Simplify.
* testsuite/ext/debug_allocator/check_delete.cc: New.
* testsuite/ext/debug_allocator/check_new.cc: Simplify.
* testsuite/ext/malloc_allocator/check_delete.cc: New.
* testsuite/ext/malloc_allocator/check_new.cc: Simplify.
* testsuite/ext/mt_allocator/check_delete.cc: New.
* testsuite/ext/mt_allocator/check_new.cc: Simplify.
* testsuite/ext/new_allocator/check_delete.cc: New.
* testsuite/ext/new_allocator/check_new.cc: Simplify.
* testsuite/ext/pool_allocator/check_delete.cc: New.
* testsuite/ext/pool_allocator/check_new.cc: Simplify.
From-SVN: r89850
2004-10-29 21:03:07 +00:00
GCC Administrator
1a8dfc45ba
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89798.2
2004-10-29 00:16:20 +00:00
Chris Jefferson
a30036b2fd
re PR libstdc++/18159 (tr1/tuple is broken on darwin)
...
2004-10-28 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/18159
* include/tr1/tuple: Fix, change formatting.
From-SVN: r89782
2004-10-28 21:18:56 +00:00
Benjamin Kosnik
6571df13b4
mt_allocator.h (__common_pool_policy): Add template template parameter for pool class type.
...
2004-10-28 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h (__common_pool_policy): Add template
template parameter for pool class type.
(__per_type_pool_policy): Same.
(__mt_allocator): Don't inherit policy. Qualify policy_type calls.
* testsuite/ext/mt_allocator/check_deallocate_null.cc: Fix.
* testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-2.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same.
* testsuite/ext/mt_allocator/instantiate.cc: Same.
* testsuite/ext/mt_allocator/tune-1.cc: Same.
* testsuite/ext/mt_allocator/tune-2.cc: Same.
* testsuite/ext/mt_allocator/tune-3.cc: Same.
* testsuite/ext/mt_allocator/tune-4.cc: Same.
From-SVN: r89776
2004-10-28 20:46:08 +00:00
Paolo Carlini
53a8d0f021
locale_facets.tcc (num_get<>::_M_extract_float): Cache *__beg in __c when parsing exponent sign too.
...
2004-10-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float):
Cache *__beg in __c when parsing exponent sign too.
(num_get<>::do_get(..., bool&)): Cache *__beg.
(money_get<>::_M_extract)): Likewise, in money_base::value.
From-SVN: r89753
2004-10-28 12:47:36 +00:00
Paolo Carlini
5536e07dad
basic_string.h (assign(const basic_string&)): Move out of line...
...
2004-10-27 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (assign(const basic_string&)):
Move out of line...
* include/bits/basic_string.tcc: ... here.
From-SVN: r89726
2004-10-28 01:04:35 +00:00
GCC Administrator
02c2429ce9
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r89721.2
2004-10-28 00:16:23 +00:00
Geoffrey Keating
95b0de03a2
Add missing ChangeLog line for configure.host change.
...
From-SVN: r89696
2004-10-27 18:09:48 +00:00
Paolo Carlini
6bfad5e135
basic_string.h (_M_replace_aux, [...]): Move out of line...
...
2004-10-27 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (_M_replace_aux, _M_replace_safe):
Move out of line...
* include/bits/basic_string.tcc: ... here.
From-SVN: r89637
2004-10-27 12:02:37 +00:00
Paolo Carlini
ab4375af84
basic_string.h (append(const basic_string&), [...]): Move out of line...
...
2004-10-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h (append(const basic_string&),
append(size_type, _CharT)): Move out of line...
* include/bits/basic_string.tcc: ... here.
From-SVN: r89622
2004-10-27 01:02:47 +00:00