GCC Administrator
3a95fe8f33
Daily bump.
...
From-SVN: r68232
2003-06-20 00:16:07 +00:00
Andreas Jaeger
97460e9a72
Makefile.am (extract_symvers): Revert accidental change.
...
* testsuite/Makefile.am (extract_symvers): Revert accidental
change.
* testsuite/Makefile.in: Regenerate.
* configure.in: Pass MULTISUBDIR to testsuite/Makefile.
* configure: Regenerated.
From-SVN: r68220
2003-06-19 21:54:04 +02:00
Paolo Carlini
50af15ec61
std_sstream.h (_M_sync): Make non virtual.
...
2003-06-19 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_sstream.h (_M_sync): Make non virtual.
From-SVN: r68200
2003-06-19 15:39:33 +00:00
Benjamin Kosnik
ce4f8c6b7b
testsuite_performance.h (time_counter): New.
...
2003-06-18 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_performance.h (time_counter): New.
(resource_counter): New.
(report_performance): New.
(start_counters): New.
(stop_counters): New.
(clear_counters): New.
* testsuite/performance/allocator.cc: Instrument.
* testsuite/performance/cout_insert_int.cc: Same.
* testsuite/performance/complex_norm.cc: Same.
* testsuite/performance/filebuf_sputc.cc: New.
* testsuite/performance/fstream_seek_write.cc: Same.
* testsuite/performance/ifstream_getline.cc: Same.
* testsuite/performance/map_create_fill.cc: Same.
* testsuite/performance/ofstream_insert_float.cc: Same.
* testsuite/performance/ofstream_insert_int.cc: Same.
* testsuite/performance/string_append.cc: Convert.
* scripts/check_performance: New.
* testsuite/Makefile.am (check-performance): New.
(CLEANFILES): Add.
From-SVN: r68175
2003-06-19 04:00:59 +00:00
GCC Administrator
b4917c0b57
Daily bump.
...
From-SVN: r68170
2003-06-19 00:17:09 +00:00
Paolo Carlini
b82a33d2a9
std_sstream.h (setbuf): Check __n >= 0.
...
2003-06-18 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_sstream.h (setbuf): Check __n >= 0.
* include/bits/fstream.tcc (setbuf): Tweak.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r68163
2003-06-18 19:13:18 +00:00
Paolo Carlini
4c526d0960
sstream.tcc (seekoff): We can't seek beyond _M_out_lim...
...
2003-06-18 Paolo Carlini <pcarlini@unitus.it>
* include/bits/sstream.tcc (seekoff): We can't seek beyond
_M_out_lim, therefore _M_move_out_cur boils down to simply
updating _M_out_cur.
(seekpos): Likewise, clean up.
From-SVN: r68162
2003-06-18 18:34:09 +00:00
Nathan C. Myers
c1b74c211a
fstream.tcc (setbuf): Allow (__s...
...
2003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
simply equivalent to the unbuffered case (0, 0) as far as
_M_buf_size is concerned.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r68160
2003-06-18 17:17:52 +00:00
Andreas Jaeger
a1af4623ea
Makefile.am (new-abi-baseline): Create baseline directory.
...
* testsuite/Makefile.am (new-abi-baseline): Create baseline
directory.
(baseline_file): Use baseline_dir.
(baseline_dir): New.
(mkinstalldirs): New.
* acinclude.m4: Rename baseline_file to baseline_dir, strip
filename from baseline_dir.
* testsuite/Makefile.in: Regenerated.
* Makefile.in: Regenerated.
* aclocal.m4: Regenerated.
* configure: Regenerated.
From-SVN: r68136
2003-06-18 07:09:50 +02:00
Benjamin Kosnik
2f934953f4
configure.in: Missed check_survey bit.
...
2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Missed check_survey bit.
* configure: Regenerated.
From-SVN: r68135
2003-06-18 02:39:10 +00:00
Benjamin Kosnik
0676e9308d
scripts: New.
...
2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
* scripts: New.
* config/abi/extract_symvers: Move to...
* scripts/extract_symvers: ...here.
* mkcheck.in: Move to..
* scripts/check_survey.in: ...here.
* testsuite_flags.in: Move to..
* scripts/testsuite_flags.in: ...here.
* configure.in: Change check and testsuite_flags locations.
* configure: Regenerate.
* testsuite/Makefile.am (current_symbols.txt): Change location.
* testsuite/Makefile.in: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
location of testsuite_flags.
* Makefile.am (check-script): Move..
(check-script-install): Move...
* testsuite/Makefile.am: ... here.
* testsuite/Makefile.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r68132
2003-06-18 01:52:08 +00:00
GCC Administrator
e646d87b0a
Daily bump.
...
From-SVN: r68128
2003-06-18 00:16:08 +00:00
Benjamin Kosnik
82620aaf0b
baseline_symbols.txt: Update to 3.3.0.
...
2003-06-17 Benjamin Kosnik <bkoz@redhat.com>
* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
From-SVN: r68069
2003-06-17 06:09:55 +00:00
Benjamin Kosnik
c4c064e771
03-06-16 Benjamin Kosnik <bkoz@redhat.com>
...
* Makefile.am (check-abi): Move...
(new-abi-baseline): Move...
* testsuite/Makefile.am: ...here.
(new-abi-baseline): Conditionalize.
(check-abi): Conditionalize.
(check-abi-verbose): New.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* configure.in: Consolidate testsuite configure bits.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* testsuite/abi_check.cc: Add --check-verbose.
Only output detailed information if --check-verbose.
From-SVN: r68067
2003-06-17 05:46:01 +00:00
GCC Administrator
4463c46363
Daily bump.
...
From-SVN: r68052
2003-06-17 00:16:09 +00:00
Andreas Jaeger
e7bb351101
abi_check.cc: Create summary report.
...
2003-06-16 Andreas Jaeger <aj@suse.de>
* testsuite/abi_check.cc: Create summary report.
From-SVN: r68044
2003-06-16 22:09:03 +00:00
Paolo Carlini
8363b7738f
1-in.cc: Fix for systems with BUFSIZ != 8192.
...
2003-06-16 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
for systems with BUFSIZ != 8192.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
Minor tweaks.
From-SVN: r68041
2003-06-16 21:24:40 +00:00
Benjamin Kosnik
5ab481e097
[multiple changes]
...
2003-06-16 Andreas Jaeger <aj@suse.de>
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
check-abi multilib aware.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2003-06-16 Benjamin Kosnik <bkoz@redhat.com>
Andreas Jaeger <aj@suse.de>
* configure.host: Set x86_64 abi_baseline pair correctly.
From-SVN: r68029
2003-06-16 18:44:50 +00:00
Paolo Carlini
0bad3b7c49
1.cc: Split and fix for missing seeks between gets and puts into...
...
2003-06-16 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
fix for missing seeks between gets and puts into...
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
From-SVN: r68021
2003-06-16 16:20:28 +00:00
GCC Administrator
44f324c4bd
Daily bump.
...
From-SVN: r67993
2003-06-16 00:16:07 +00:00
Richard Henderson
dc4add82a5
linker-map.gnu: Export virtual function thunks for 64-bit systems too.
...
* config/linker-map.gnu: Export virtual function thunks for
64-bit systems too.
From-SVN: r67989
2003-06-15 16:24:00 -07:00
GCC Administrator
b2a67e419c
Daily bump.
...
From-SVN: r67960
2003-06-15 00:16:07 +00:00
Benjamin Kosnik
ef16a2989a
i686-pc-linux-gnu: To..
...
2003-06-13 Benjamin Kosnik <bkoz@redhat.com>
* config/abi/i686-pc-linux-gnu: To..
* config/abi/i486-linux-gnu: ...this.
* config/abi/alphaev67-unknown-linux-gnu: To..
* config/abi/alpha-linux-gnu: ...this.
* config/abi/ia64-unknown-linux-gnu: To...
* config/abi/ia64-linux-gnu: ...this.
* config/abi/x86_64-unknown-linux-gnu: To...
* config/abi/x86_64-linux-gnu: ...this.
* config/abi/i386-unknown-freebsd4: To...
* config/abi/i386-freebsd4: ...this.
* configure.host: abi_baseline_triplet to abi_baseline_pair.
Simplify cpu bits so that abi_baseline_pair can use the same
cpu configuration.
* acinclude.m4: Same.
* aclocal.m4: Regenerate.
* configure.in: Can't get enable_abi_check to yes unless native.
* configure: Regenerate.
From-SVN: r67931
2003-06-14 05:38:04 +00:00
GCC Administrator
307ecf05ae
Daily bump.
...
From-SVN: r67926
2003-06-14 00:16:07 +00:00
Paolo Carlini
ed24293523
1.cc: Split and fix for missing seeks between gets and puts into...
...
2003-06-13 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
fix for missing seeks between gets and puts into...
* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
* testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
* testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
* testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
for missing seeks between gets and puts.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
* testsuite/data/seekoff-1.tst: New.
* testsuite/data/seekoff-2.tst: New.
* testsuite/data/seekpos-1.tst: New.
* testsuite/data/seekpos-2.tst: New.
From-SVN: r67913
2003-06-13 21:06:37 +00:00
Nathan C. Myers
ca566e4c07
Avoid multi-processor bus contention on increment/decrement-and- test of the reference count in the empty-string object...
...
2003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
Avoid multi-processor bus contention on increment/decrement-and-
test of the reference count in the empty-string object, by comparing
addresses first, and never touching the reference count of the empty-
string object.
* include/bits/basic_string.h:
(_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
members.
(_Rep::_S_empty_rep()): New accessor.
(_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
a base class _Rep_base.
(_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
(basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
since no longer must increment its refcount.
* include/bits/basic_string.tcc:
(_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
return immediately. The former might be unnecessary. The latter
prevents begin() and end() from cloning it unnecessarily.
(_S_construct(_InIterator, _InIterator, const _Alloc&,
input_iterator_tag), _S_construct(_InIterator, _InIterator,
const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
(_M_mutate): Check for the empty string and treat it as shared.
This is necessary here because _M_mutate is sometimes called with
all-zero arguments; in all other uses of _M_is_shared, the test comes
out right anyhow.
From-SVN: r67912
2003-06-13 20:59:42 +00:00
Benjamin Kosnik
c37514ff62
allocator-inst.cc: Explicitly instantiate.
...
2003-06-12 Benjamin Kosnik <bkoz@redhat.com>
* src/allocator-inst.cc: Explicitly instantiate.
* include/ext/pool_allocator.h: Inhibit implicit instantiations.
Tweaks.
* config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
From-SVN: r67882
2003-06-13 05:45:57 +00:00
GCC Administrator
974c7cc67f
Daily bump.
...
From-SVN: r67860
2003-06-13 00:16:08 +00:00
Benjamin Kosnik
00b0f35e6e
stl_alloc.h (__debug_alloc): Move out.
...
2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h (__debug_alloc): Move out.
(__malloc_alloc): Same.
(__pool_alloc): Same.
(__new_alloc): Same.
Rename to..
* include/bits/allocator.h: ...this.
* include/bits/stl_deque.h: Modify comment.
* include/bits/stl_tree.h: Modify include.
* include/std/std_memory.h: Same.
* include/ext/rope: Same.
* include/ext/slist: Same.
* include/std/std_vector.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/backward/alloc.h: Same.
* include/ext/debug_allocator.h: New.
* include/ext/malloc_allocator.h: New.
* include/ext/pool_allocator.h: New.
* include/ext/new_allocator.h: New.
* include/bits/pthread_allocimpl.h: Remove.
* include/bits/stl_pthread_alloc.h: Remove.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/stl-inst.cc: Use __gnu_cxx namespace.
* src/stl-inst.cc: Move to...
* src/allocator-inst.cc: Here.
* src/Makefile.am (sources): Update.
* src/Makefile.in: Regenerate.
* config/linker-map.gnu: Remove __pool_alloc bits.
* testsuite/ext/headers.cc: Add.
* testsuite/ext/allocators.cc: Fixup.
From-SVN: r67836
2003-06-12 15:49:16 +00:00
Benjamin Kosnik
58ac1d7f0e
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
...
2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
* aclocal.m4: Regenerate.
* Makefile.am (SUBDIRS): Remove libio.
* Makefile.in: Regenerate.
* configure.in: Same.
* configure: Regenerate.
* config/io/basic_file_libio.cc: Remove.
* config/io/basic_file_libio.h: Remove.
* config/io/c_io_libio_codecvt.c: Remove.
* config/io/c_io_libio.h: Remove.
* libio/*: Remove.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* docs/html/configopts.html: Edits.
* docs/html/explanations.html: Edits.
From-SVN: r67813
2003-06-12 03:24:16 +00:00
GCC Administrator
e46f19c848
Daily bump.
...
From-SVN: r67806
2003-06-12 00:16:10 +00:00
Benjamin Kosnik
1ff9402d8f
[multiple changes]
...
2003-06-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h (__debug_alloc): Move out.
(__malloc_alloc): Same.
(__pool_alloc): Same.
(__new_alloc): Same.
Rename to..
* include/bits/allocator.h: ...this.
* include/bits/stl_deque.h: Modify comment.
* include/bits/stl_tree.h: Modify include.
* include/std/std_memory.h: Same.
* include/ext/rope: Same.
* include/ext/slist: Same.
* include/std/std_vector.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/backward/alloc.h: Same.
* include/ext/debug_allocator.h: New.
* include/ext/malloc_allocator.h: New.
* include/ext/pool_allocator.h: New.
* include/ext/new_allocator.h: New.
* include/bits/pthread_allocimpl.h: Remove.
* include/bits/stl_pthread_alloc.h: Remove.
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* src/stl-inst.cc: Use __gnu_cxx namespace.
* src/stl-inst.cc: Move to...
* src/allocator-inst.cc: Here.
* src/Makefile.am (sources): Update.
* src/Makefile.in: Regenerate.
* config/linker-map.gnu: Remove __pool_alloc bits.
* testsuite/ext/headers.cc: Add.
* testsuite/ext/allocators.cc: Fixup.
2003-06-11 Stefan Olsson <stefan@snon.net>
Ola R�nnerup <fnolis@home.se>
* include/Makefile.am (ext_headers): Add.
* include/Makefile.in: Regenerate.
* include/ext/mt_allocator.h: New file.
From-SVN: r67777
2003-06-11 15:52:11 +00:00
GCC Administrator
97981791bc
Daily bump.
...
From-SVN: r67742
2003-06-11 00:16:07 +00:00
Paolo Carlini
1f0ef65117
fstream.tcc (close): Clean up a bit.
...
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (close): Clean up a bit.
* include/bits/streambuf.tcc (sbumpc): Clean up a bit.
* include/std/std_fstream.h (_M_destroy_pback): _M_pback_cur_save
- the saved _M_in_cur, that is - cannot be null.
(sync): Constify a variable.
* include/std/std_streambuf.h: Tweak a comment.
(in_avail): Constify a variable.
From-SVN: r67738
2003-06-10 22:00:43 +00:00
Phil Edwards
08addde65f
BUGS: Update from 2.90.8 snapshot.
...
2003-06-10 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/BUGS: Update from 2.90.8 snapshot.
* docs/html/17_intro/CHECKLIST: Bring up to date with respect to
correctness of container::iterator typedefs. Fix whitespace.
* docs/html/20_util/howto.html, docs/html/ext/howto.html: Add links
to allocator docs.
* docs/html/documentation.html: Regenerate.
* include/bits/basic_string.h, include/bits/basic_string.tcc,
include/bits/deque.tcc, include/bits/list.tcc, include/bits/stl_algo.h,
include/bits/stl_algobase.h, include/bits/stl_bvector.h,
include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_list.h, include/bits/stl_uninitialized.h,
include/bits/stl_vector.h, include/bits/vector.tcc,
include/ext/algorithm, include/ext/slist, include/std/std_bitset.h:
Change _Iter names to _Iterator, and __pos to __position.
* include/bits/stl_relops.h, include/bits/stl_numeric.h,
include/bits/stl_multiset.h, include/bits/stl_set.h:
Remove emacs markers.
* include/bits/stl_threads.h (_STL_auto_lock): Add __unused__.
From-SVN: r67736
2003-06-10 21:52:25 +00:00
Paolo Carlini
9fa543a540
1.cc: Remove.
...
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Remove.
From-SVN: r67730
2003-06-10 19:53:44 +00:00
Paolo Carlini
9335d80ab9
fstream.tcc (overflow): According to 27.5.2.4.5, overflow() returns not_eof(eof()).
...
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (overflow): According to
27.5.2.4.5, overflow() returns not_eof(eof()).
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: New.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Ditto.
2003-06-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (_M_underflow): Check overflow return
value; tweak slightly.
From-SVN: r67726
2003-06-10 19:27:12 +00:00
GCC Administrator
d4298db33d
Daily bump.
...
From-SVN: r67689
2003-06-10 00:16:06 +00:00
Paolo Carlini
f10eea7bae
fstream.tcc (_M_underflow): Do not special case the unbuffered case...
...
2003-06-09 Paolo Carlini <pcarlini@unitus.it>
* include/bits/fstream.tcc (_M_underflow): Do not special
case the unbuffered case, which really means simply a one char
get area.
(basic_filebuf): Initialize _M_buf_size.
(setbuf): Unbuffered means _M_buf_size == 1, since only
_M_buf_size - 1 == 0 chars are going to be used for the
put area and 1 for the get area.
* include/std/std_streambuf.h (_M_buf_size): Move to basic_filebuf.
(~basic_streambuf): Tweak.
(basic_streambuf): Do not initialize _M_buf_size.
* include/std/std_fstream.h (_M_buf_size): Add from basic_streambuf.
(~basic_filebuf): Tweak.
(_M_set_buffer): Tweak, considering that _M_buf_size == 1 is the
unbuffered situation (i.e., put area pointers NULL).
* include/bits/streambuf.tcc (sbumpc): Clean up.
* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: New.
From-SVN: r67686
2003-06-10 00:05:49 +00:00
Phil Edwards
16da539b7d
acinclude.m4: Move all AM_CONDITIONAL calls out.
...
2003-06-09 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Move all AM_CONDITIONAL calls out.
(GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL
statements.
* configure.in: Centralize AM_CONDITIONALs so that they are always
run. Make use of GLIBCPP_IS_CROSS_COMPILING.
* aclocal.m4, configure: Regenerated.
From-SVN: r67663
2003-06-09 14:54:08 +00:00
Paolo Carlini
c7d251ba2d
howto.html ('LWG Issues'): Add issue 235.
...
2003-06-09 Paolo Carlini <pcarlini@unitus.it>
* docs/html/ext/howto.html ('LWG Issues'): Add issue 235.
From-SVN: r67659
2003-06-09 11:54:53 +00:00
GCC Administrator
fbad57fda3
Daily bump.
...
From-SVN: r67642
2003-06-09 00:16:08 +00:00
GCC Administrator
5b7de1a999
Daily bump.
...
From-SVN: r67608
2003-06-08 00:16:06 +00:00
GCC Administrator
eba441c018
Daily bump.
...
From-SVN: r67573
2003-06-07 00:16:06 +00:00
Nathan Myers
d56a88114a
2003-06-06 Nathan Myers <ncm-nospam@cantrip.org>
...
* include/bits/stl_iterator.h
(reverse_iterator::reverse_iterator()): Apply DR235: default
constructor default-initializes data member. Instantiated on a
pointer type, the member has to end up equal to zero.
From-SVN: r67559
2003-06-06 17:19:56 +00:00
Benjamin Kosnik
b2acb86f5b
stl_alloc.h: Cleanups.
...
2003-06-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_alloc.h: Cleanups.
* include/ext/functional: Same.
* include/ext/hash_map: Same.
* include/ext/hash_set: Same.
* include/ext/iterator: Same.
* include/ext/memory: Same.
* include/ext/numeric: Same.
* include/ext/rb_tree: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stdio_filebuf.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/stl_rope.h: Move to...
* include/ext/rope: ...here.
* include/ext/stl_hash_fun.h: Move to...
* include/ext/hash_fun.h: ...here.
* include/ext/stl_hashtable.h: Move to...
* include/ext/hashtable.h: ...here.
* include/backward/hashtable.h: Reflect new names.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerated.
From-SVN: r67551
2003-06-06 15:50:28 +00:00
Benjamin Kosnik
46c4e5d6e9
re PR libstdc++/9024 (Input fails after call to basic_filebuf<>::pubsetbuf(0, 0))
...
2003-06-05 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/9024
* include/bits/fstream.tcc (_M_underflow): Fix for unbuffered.
* include/bits/stl_algobase.h: Tweak.
* include/std/std_fstream.h: Move _M_buf_size to...
* include/std/std_streambuf.h: ...here. Modify.
* include/bits/streambuf.tcc: Same.
* testsuite/testsuite_hooks.h: Tweak.
* testsuite/testsuite_io.h (constraint_filebuf): New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2.cc: Split into...
* testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Split into...
* testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: New.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: New.
* testsuite/data/sgetc.txt: New.
* testsuite/data/sgetn.txt: New.
From-SVN: r67524
2003-06-06 00:19:17 +00:00
GCC Administrator
821bcbd221
Daily bump.
...
From-SVN: r67522
2003-06-06 00:16:10 +00:00
Paolo Carlini
1e64c2fc32
re PR libstdc++/11095 (C++ iostream manipulator causes segfault when called iwth negative argument)
...
2003-06-05 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11095
* include/bits/istream.tcc (operator>>(basic_istream&, _CharT*)):
Deal with width() smaller than zero.
* include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT),
operator<<(basic_ostream&, char), operator<<(basic_ostream&,
const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
const char*), operator<<(basic_ostream<char, _Traits>&,
const char*), operator<<(basic_ostream, const basic_string&)): Likewise.
* testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
* testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc:
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc:
New.
From-SVN: r67518
2003-06-05 23:25:05 +00:00
Rainer Orth
23c84d335b
Properly regenerate configure.
...
From-SVN: r67516
2003-06-05 22:24:36 +00:00