1. 26 Feb, 2003 9 commits
  2. 25 Feb, 2003 18 commits
  3. 24 Feb, 2003 13 commits
    • * README: Remove out-of-date information. · d12ad970
      From-SVN: r63384
      Mark Mitchell committed
    • re PR c++/9836 (Error with typdefs in partial specializations of classes) · 353b4fc0
      	PR c++/9836
      	* cp-tree.h (CLASSTYPE_PRIMARY_TEMPLATE): Do not skip from
      	specializations back to the main template.
      	* parser.c (cp_parser_diagnose_invalid_type_name):Adjust use.
      	* pt.c (resolve_typename_type): Likewise.
      
      	PR c++/9836
      	* g++.dg/template/spec6.C: New test.
      
      From-SVN: r63383
      Mark Mitchell committed
    • AbstractPreferences.java (isUserNode): Implemented. · 2afced11
      	* java/util/prefs/AbstractPreferences.java (isUserNode):
      	Implemented.
      
      From-SVN: r63382
      Tom Tromey committed
    • * combine.c (simplify_shift_const): Fix previous patch. · 2d21f7d6
      From-SVN: r63380
      Jan Hubicka committed
    • re PR c++/9778 (ICE with sizeof(expr) in non-type template arg) · 8b6a662e
      2003-02-24  Jeffrey D. Oldham  <oldham@codesourcery.com>
      
      	PR c++/9778
      	* cp/pt.c (tsubst_copy_and_build): For a templated function inside a
      	scope, process template arguments.
      	* testsuite/g++.dg/parse/template6.C: New test case.
      
      From-SVN: r63379
      Jeffrey D. Oldham committed
    • re PR libstdc++/9825 (filebuf::sputbackc breaks sbumpc) · 57df94c8
      2003-02-24  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/9825
      	* src/fstream.cc
      	(basic_filebuf<char/wchar_t>::_M_underflow_common): When
      	__bump is true (uflow), always increment the read pointer
      	(_M_in_cur) before returning successfully.
      	* testsuite/27_io/filebuf_virtuals.cc (test12): Add.
      
      From-SVN: r63378
      Paolo Carlini committed
    • i386.md (testdi_1_rex64): Discourage reload from using the %eax alternative. · 2bac97f7
             * i386.md (testdi_1_rex64): Discourage reload from using the %eax
              alternative.
              (testsi_1, testhi_1, testqi_1): Likewise.
      
      From-SVN: r63376
      Jeff Law committed
    • physmem.c (physmem_total): Test for GSI_PHYSMEM. · 7f9fc006
      	* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
      	GSI_PHYSMEM.
      	(physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
      
      From-SVN: r63373
      Rainer Orth committed
    • re PR c/5059 (Compiling s/w containing the use of DIR.H fails on other stat-calls) · f8dc212b
      	* config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
      	__EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
      	* doc/extend.texi (Tru64 Pragmas): Reflect this.
      
      	* fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
      	extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
      	* fixinc/fixincl.x: Regenerate.
      	* fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
      	testcase.
      	Fixes PR c/5059, c/6126, other/9671.
      
      	testsuite:
      	* g++.dg/other/pragma-ep-1.C: Test for __PRAGMA_EXTERN_PREFIX.
      	* gcc.dg/pragma-ep-1.c: Likewise.
      
      From-SVN: r63370
      Rainer Orth committed
    • PR libstdc++/9404, PR libstdc++/9701 (partial) · 391cd095
      2003-02-24  Paolo Carlini <pcarlini@unitus.it>
      	    Nathan Myers <ncm@cantrip.org>
      
      	PR libstdc++/9404, PR libstdc++/9701 (partial)
      	(aka pptr == epptr implies overflow)
      	* include/bits/fstream.tcc (_M_allocate_internal_buffer):
      	Consistently, _M_out_end points to the end of the buffer just
      	created.
      	(overflow): Tweak to use _M_out_buf_size().
      	(_M_convert_to_external): The role of the old _M_out_end is
      	now played by _M_out_lim.
      	(_M_really_overflow): Likewise.
      	(seekoff): Likewise.
      	(setbuf): _M_out_end points to the end of the external buffer.
      	* include/bits/sstream.tcc (overflow): Rewrote, taking into
      	account the resolution of DR 169 (TC).
      	(seekoff): Use _M_string.capacity(); ios_base::end is now _M_out_lim.
      	(seekpos): Use _M_string.capacity(); tweak.
      	* include/bits/streambuf.tcc (sputc, xsputn): Remove comments.
      	* include/std/std_fstream.h (sync): The role of the old
      	_M_out_end is now played by _M_out_lim.
      	(_M_set_indeterminate): Use _M_set_determinate.
      	(_M_set_determinate): _M_out_end is now _M_out_lim.
      	(_M_is_indeterminate): Likewise.
      	* include/std/std_sstream.h (str()): _M_out_end is now _M_out_lim.
      	(_M_stringbuf_init): Don't set _M_buf_size, unused for sstreams,
      	which have the information readily available as _M_string.capacity();
      	for ate and app modes, pass the string size to _M_really_sync.
      	(_M_really_sync): Consistently set _M_out_end and _M_out_lim, to
      	point to the end of the buffer (i.e., epptr) and to the string end,
      	respectively.
      	* include/std/std_streambuf.h: tweak comments, add _M_out_lim,
      	which points to the right limit of the used put area.
      	(_M_out_cur_move): The role of the old _M_out_end is now played
      	by _M_out_lim.
      	(_M_out_buf_size): Simplify: now (when _M_out_cur) return simply
      	_M_out_end  - _M_out_cur (i.e., pptr), _very_ close to the letter
      	of the standard.
      	(basic_streambuf()): Initialize _M_out_lim too.
      	* testsuite/27_io/filebuf_virtuals.cc (test10): Trivial tweak.
      	* testsuite/27_io/filebuf_virtuals.cc (test11): Add.
       	* testsuite/27_io/stringbuf_virtuals.cc (test09): Add.
      
      Co-Authored-By: Nathan Myers <ncm@cantrip.org>
      
      From-SVN: r63367
      Paolo Carlini committed
    • ios_base_storage.cc (main): Call set_memory_limits. · 2e812a0a
      
      2003-02-24  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/27_io/ios_base_storage.cc (main): Call
      	set_memory_limits.
      
      From-SVN: r63366
      Benjamin Kosnik committed
    • ClassLoader.java (defineClass(byte[],int,int)): Deprecate. · d99c7b11
      	* java/lang/ClassLoader.java (defineClass(byte[],int,int)):
      	Deprecate.
      	* java/lang/Thread.java (resume): Deprecate.
      	* java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
      	in @deprecated.
      
      From-SVN: r63364
      Tom Tromey committed