1. 29 Apr, 2003 28 commits
  2. 28 Apr, 2003 12 commits
    • std_streambuf.h (_M_buf): is currently used only for basic_filebuf, therefore move it there. · 479a1811
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/std/std_streambuf.h (_M_buf): is currently
      	used only for basic_filebuf, therefore move it there.
      	(basic_streambuf(), ~basic_streambuf()): Adjust.
      	* include/std/std_fstream.h (_M_buf): Moved here.
      	* include/std/std_sstream.h (setbuf): Don't set _M_buf,
      	is actually redundant for basic_stringbuf.
      	(_M_really_sync): Likewise.
      	* include/bits/fstream.tcc (basic_filebuf()): Adjust.
      	* include/bits/sstream.tcc (seekoff): Adjust.
      
      From-SVN: r66193
      Paolo Carlini committed
    • localename.cc: Standardize exception strings. · 988ad90d
      
      2003-04-28  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/localename.cc: Standardize exception strings.
      	* src/locale.cc: Same.
      	* src/ios.cc: Same.
      	* include/bits/basic_string.tcc: Same.
      	* include/bits/basic_ios.tcc: Same.
      	* include/std/std_bitset.h: Same.
      	* include/ext/ropeimpl.h: Same.
      	* include/bits/stl_vector.h: Same.
      	* include/bits/stl_deque.h: Same.
      	* include/bits/stl_bvector.h: Same.
      	* config/locale/generic/c_locale.cc: Same.
      	* config/locale/gnu/c_locale.cc: Same.
      	* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Same.
      
      	* testsuite/testsuite_hooks.cc (__gnu_cxx_test): Modify.
      
      From-SVN: r66192
      Benjamin Kosnik committed
    • std_streambuf.h (_M_buf_size): is currently used only for basic_filebuf, therefore move it there. · 6ef4b79c
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/std/std_streambuf.h (_M_buf_size): is currently
      	used only for basic_filebuf, therefore move it there.
      	(basic_streambuf(), ~basic_streambuf()): Adjust.
      	* include/std/std_fstream.h (_M_buf_size): Moved here.
      	* include/bits/fstream.tcc (basic_filebuf()): Adjust.
      
      From-SVN: r66191
      Paolo Carlini committed
    • streambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now… · 44b84cc9
      streambuf.tcc (__copy_streambufs): Don't use _M_buf_size (synced input is now correctly dealt with elsewhere)...
      
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/streambuf.tcc (__copy_streambufs): Don't use
      	_M_buf_size (synced input is now correctly dealt with
      	elsewhere); when the output buffer is full don't fall back
      	to a snextc-sputc loop, call overflow instead.
      
      From-SVN: r66190
      Paolo Carlini committed
    • sstream.tcc (pbackfail): Shorten a bit (6 lines) the innermost 'if' by factoring out some code. · ca78f36a
      2003-04-28  Paolo Carlini  <pcarlini@unitus.it>
      
      	* include/bits/sstream.tcc (pbackfail): Shorten a bit (6 lines)
      	the innermost 'if' by factoring out some code.
      
      From-SVN: r66187
      Paolo Carlini committed
    • * gdbinit.in: Update to reflect new identifier structure. · a72bf3e9
      From-SVN: r66186
      Mike Stump committed
    • configure.in: Test for libintl.h. · ad414290
      2003-04-28  Phil Edwards  <pme@gcc.gnu.org>
      
      	* configure.in:  Test for libintl.h.
      	* include/bits/c++config:  Define __N for everybody.
      	* include/bits/basic_string.h, include/bits/stl_bvector.h,
      	include/bits/stl_deque.h, include/bits/stl_vector.h,
      	include/std/std_bitset.h:  Wrap all __throw* text with __N.
      	* po/Makefile.am (pot):  New rule, mostly working.
      	* src/functexcept.cc:  Call gettext on all __throw* arguments when
      	-fexceptions is in effect.
      	* po/Makefile.in, config.h.in, configure:  Regenerate.
      
      From-SVN: r66185
      Phil Edwards committed
    • configure.in: define GC_DLL under mingw if --enable-shared · e83a44d2
      2003-04-28  Mohan Embar  <gnustuff@thisiscool.com>
      
      	* configure.in: define GC_DLL under mingw if --enable-shared
      	* configure: rebuilt
      	* win32_threads.c: add #ifdef GC_DLL around DllMain
      
      From-SVN: r66183
      Mohan Embar committed
    • tree.h (TREE_CST_RTL, [...]): Delete. · 0864034e
      	* tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
      	(struct tree_int_cst, struct tree_real_cst, struct tree_string,
      	struct tree_complex, struct tree_vector): Remove RTL field.
      	(CONSTRUCTOR_ELTS): Use elt 0.
      	* tree.def (CONSTRUCTOR): Delete first of its two operands.
      	* varasm.c (output_constant_def): Remove early exit if
      	TREE_CST_RTL is set.  Don't set TREE_CST_RTL.
      	(decode_addr_const): Don't mention TREE_CST_RTL in comment.
      	* target.h (select_section): Don't mention TREE_CST_RTL in comment.
      	* doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.
      
      ada:
      	* utils.c (convert): No need to clear TREE_CST_RTL.
      
      From-SVN: r66182
      Zack Weinberg committed
    • c-decl.c (finish_decl): When prototype with asmspec is found for built-in... · 9661b15f
      	* c-decl.c (finish_decl): When prototype with asmspec is found
      	for built-in, adjust built_in_decls as well as expr.c decls.
      	* expr.c (init_block_move_fn, init_block_clear_fn): New functions.
      	(emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
      	* expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.
      
      	* gcc.c-torture/execute/string-opt-asm-1.c: New test.
      	* gcc.c-torture/execute/string-opt-asm-2.c: New test.
      
      From-SVN: r66181
      Jakub Jelinek committed
    • natString.cc (_Jv_AllocString): Initialize cachedHashCode. · 62a3446b
      	* java/lang/natString.cc (_Jv_AllocString): Initialize
      	cachedHashCode.
      	(init): Likewise.
      	(_Jv_NewStringUtf8Const): Likewise.
      
      From-SVN: r66180
      Tom Tromey committed
    • sparc.c (print_operand): Add 's' to sign-extend. · 8707fe93
              * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
              * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
              integral constant mult operand.
              (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
              (const_smulsi3_highpart_v8plus): Likewise.
              (const_smulsi3_highpart): Likewise.
              (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
              (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
              (const_umulsi3_highpart_v8plus): Likewise.
              (const_umulsi3_highpart): Likewise.
      
      From-SVN: r66179
      Richard Henderson committed