OSDN Git Service

* g++.dg/parse/typedef1.C: Tweak after fix for PR 10428.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / ChangeLog
index 9453611..f0474b5 100644 (file)
@@ -1,3 +1,157 @@
+2003-04-23  Phil Edwards  <pme@gcc.gnu.org>
+
+       * docs/html/ext/howto.html ('LWG Issues'):  Add issue 60, partial
+       implementation only.
+       * include/bits/istream.tcc (putback, unget, sync, tellg, seekg):
+       Comment and change to comply with DR 60 and the effect on gcount().
+       * include/std/std_istream.h:  Update comments.
+       * testsuite/27_io/basic_istream/putback/char/1.cc (test01):  Add
+       comments about reasons for tests.  Test sync() against gcount().
+       * testsuite/27_io/basic_istream/seekg/char/2.cc:  New file, test
+       for effect on gcount().
+       * testsuite/27_io/basic_istream/tellg/char/2.cc:  New file, test
+       for effect on gcount().
+
+2003-04-22  Loren J. Rittle  <ljrittle@acm.org>
+
+       * testsuite/27_io/basic_filebuf/close/char/9964.cc (test_07):
+       Adjust timing.
+
+2003-04-22  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_streambuf.h (_S_pback_size, _M_pback,
+       _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
+       _M_pback_create(), _M_pback_destroy()): Move to basic_filebuf.
+       (basic_streambuf::basic_streambuf()): Adjust.
+       * include/std/std_fstream.h (_S_pback_size, _M_pback,
+       _M_pback_cur_save, _M_pback_end_save, _M_pback_init,
+       _M_pback_create(), _M_pback_destroy()): Moved here
+       from basic_streambuf.
+       * include/bits/fstream.tcc (basic_filebuf::basic_filebuf()):
+       Adjust.
+       (basic_filebuf::_S_pback_size): Add declaration.
+       * include/bits/streambuf.tcc (basic_streambuf::_S_pback_size):
+       Remove declaration.
+
+2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
+
+       Consistently use _M_in_beg instead of eback(), _M_in_cur
+       instead of gptr(), and so on.
+       * include/bits/fstream.tcc (pbackfail, imbue): Here.
+       * include/bits/sstream.tcc (pbackfail, seekoff, seekpos): Ditto.
+       * include/bits/streambuf.tcc (sbumpc, sputbackc,
+       __copy_streambufs): Ditto.
+       * include/std/std_streambuf.h (sgetc): Ditto.
+
+2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/sstream.tcc (pbackfail, overflow):
+       Formatting fixes.
+
+2003-04-21  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_streambuf.h (uflow()): It's used only by
+       basic_stringbuf (i.e., basic_filebuf provide its own uflow()),
+       therefore do not consider the _M_buf_unified == true case.
+
+       * include/std/std_streambuf.h (sgetc()): Restore __ret variable.
+
+2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
+
+       * docs/html/ext/howto.html ('LWG Issues'):
+       Add issues 19, 90, 171, 231, 271.
+
+2003-04-20  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/bits/sstream.tcc (pbackfail): Remove redundant
+       NULL pointer check from test involving _M_in_*.
+       (overflow, seekoff, seekpos): Const qualify bool variables.
+       * include/std/std_sstream.h (underflow): Remove redundant
+       NULL pointer check from test involving _M_in_*.
+       (_M_really_sync): Const qualify bool variables.
+       * src/fstream.cc (_M_underflow_common): Remove redundant
+       NULL pointer check from test involving _M_in_*, const qualify
+       bool variables.
+
+       * include/std/std_streambuf.h (sgetc): Remove redundant
+       variable.
+
+2003-04-18  Paolo Carlini  <pcarlini@unitus.it>
+
+       According to 5.9 para 2 (second bullet) for pointers p, q
+       pointing to the same type, with  p == 0 and q == 0, (p < q)
+       is false.
+       * include/bits/fstream.tcc (close, overflow, _M_really_overflow,
+       seekoff): Remove redundant NULL pointer checks from tests
+       involving _M_out_* and _M_in_*, const qualify bool variables.
+       (showmanyc, pbackfail, _M_convert_to_external, imbue): Const
+       qualify bool variables.
+       * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc, sputc):
+       Remove redundant NULL pointer checks from tests involving
+       _M_out_* and _M_in_*, const qualify bool variables.
+       * include/std/std_fstream.h (sync): Likewise.
+       (_M_is_indeterminate): Const qualify bool variables.
+       * include/std/std_streambuf.h (sgetc, uflow): Remove redundant
+       NULL pointer checks from tests involving _M_out_* and _M_in_*,
+       const qualify bool variables.
+       (_M_in_cur_move, _M_out_cur_move, uflow): Const qualify bool
+       variables.
+
+2003-04-18  Loren J. Rittle  <ljrittle@acm.org>
+
+       * include/c_std/std_cmath.h (C99 FP capture): Only undefine said
+       C99 FP macros, if actually captured.
+
+       * docs/html/17_intro/porting.texi (_GLIBCPP_USE_C99_CHECK): New macro.
+       (_GLIBCPP_USE_C99_DYNAMIC): New macro.
+       (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
+       (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
+       * config/os/bsd/freebsd/os_defines.h (_GLIBCPP_USE_C99_CHECK):
+       New macro.
+       (_GLIBCPP_USE_C99_DYNAMIC): New macro.
+       (_GLIBCPP_USE_C99_LONG_LONG_CHECK): New macro.
+       (_GLIBCPP_USE_C99_LONG_LONG_DYNAMIC): New macro.
+       * include/c_std/std_cstdlib.h: Use new macros.
+       * include/c_std/std_cstdio.h: Use new macros.
+       * include/c_std/std_cwchar.h: Use new macros.
+
+2003-04-17  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/9555
+       * include/bits/ostream.tcc: Catch all exceptions for formatted
+       output, instead of std::exception and derivatives.
+       * include/bits/istream.tcc: Same.
+       * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
+       * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
+       * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
+       * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
+       * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
+       * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
+       New.
+
+2003-04-17  Phil Edwards  <pme@gcc.gnu.org>
+
+       * include/bits/c++config:  Minor cosmetic tweaks.
+
+2003-04-17  Loren J. Rittle  <ljrittle@acm.org>
+
+       * testsuite_flags.in (PCHFLAGS): Find PCH in new home.
+       * include/Makefile.am (pch_input): Find in ${target_builddir}.
+       (pch_output): Rename to...
+       (pch_output_builddir): ..this.  Find in ${target_builddir}.
+       (pch_source): Tweak.
+       (pch_build): Key off a built file.
+       (pch_output rule): Rename to...
+       (pch_input rule): ...this.  Produce ${pch_output_builddir}
+       instead of ${pch_output}.
+       (install-pch rule): Install ${pch_output_builddir}.
+       * include/Makefile.in: Regenerated.
+
+2003-04-17  Paolo Carlini  <pcarlini@unitus.it>
+
+       * include/std/std_streambuf.h (setp): _M_out_lim, being
+       the end limit of used put area, is set equal to _M_out_beg.
+
 2003-04-16  Benjamin Kosnik  <bkoz@redhat.com>
 
        * acinclude.m4 (GLIBCPP_CHECK_PCH): New.