1. 04 Nov, 2003 9 commits
    • Makefile.in (GCC_CFLAGS): Remove @WERROR@ again. · 7807fcd9
      	* Makefile.in (GCC_CFLAGS): Remove @WERROR@ again.
      
      Change previous ChangeLog entry to point to me as asked for by Kaveh.
      
      From-SVN: r73246
      Andreas Jaeger committed
    • re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) · 5e93f39f
      
      
      2003-11-03  Petur Runolfsson  <peturr02@ru.is>
      
      	PR libstdc++/12790
      	* include/bits/fstream.tcc: Delete _M_last_overflowed.
      	(basic_filebuf::basic_filebuf): Initialize _M_state_last.
      	(basic_filebuf::open, basic_filebuf::close): Assign
      	_M_state_beg to _M_state_cur and _M_state_last.
      	(basic_filebuf::close): Call _M_terminate_output to handle
      	unshift and flushing.
      	(basic_filebuf::underflow): Assign _M_state_last, throw
      	exception instead of calling abort when codecvt::max_length()
      	is bad.
      	(basic_filebuf::seekoff): Use _M_state_last when calling
      	codecvt::length(), pass correct state to _M_seek.
      	(basic_filebuf::seekpos): Pass __pos.state() to _M_seek.
      	(basic_filebuf::_M_seek): Add __state_type parameter,
      	set _M_state_cur correctly, store the resulting state in
      	the return value and use _M_terminate_output to handle
      	flushing and unshift.
      	(basic_filebuf::_M_terminate_output): Flush contents of
      	output buffer, if any, then call codecvt::unshift as
      	needed and output the result.
      	(basic_filebuf::sync): Move here, don't modify _M_writing
      	or _M_reading.
      
      	* include/std/std_fstream.h
      	(basic_filebuf::_M_state_last): Declare it.
      	(basic_filebuf::_M_last_overflowed): Delete.
      	(basic_filebuf::_M_seek): Add __state_type parameter.
      	(basic_filebuf::sync): Declare only.
      	(basic_filebuf::_M_output_unshift): Delete.
      	(basic_filebuf::_M_terminate_output): Declare it.
      
      	* testsuite/testsuite_character.h:
      	Define character class and state class plus char_traits and
      	codecvt specializations for same for testing support for
      	stateful encodings.
      
      	* testsuite/27_io/basic_filebuf/close/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/close/char/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/close/char/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/close/char/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/close/char/12790-4.cc,
      	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc,
      	* testsuite/27_io/basic_filebuf/open/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc,
      	* testsuite/27_io/basic_filebuf/sync/char/1.cc,
      	* testsuite/27_io/basic_filebuf/sync/wchar_t/1.cc:
      	New tests.
      
      	* testsuite/27_io/basic_filebuf/3.cc,
      	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc,
      	* testsuite/27_io/basic_fstream/3.cc,
      	* testsuite/27_io/basic_ifstream/3.cc,
      	* testsuite/27_io/basic_ofstream/3.cc:
      	Use streamoff as off_type and fpos<state_type> as pos_type.
      
      	* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc,
      	* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc:
      	Check that sync does *not* set _M_writing to false.
      
      From-SVN: r73245
      Petur Runolfsson committed
    • natClass.cc (newInstance): Throw InstantiationException if class has no null-argument constructor. · 99f8b250
              * java/lang/natClass.cc (newInstance): Throw InstantiationException
              if class has no null-argument constructor.
      
      From-SVN: r73244
      Bryce McKinlay committed
    • stubs.c (sqrtf, sqrtl): Reorder so they appear before they're used. · 1b9e6d64
      2003-11-01  Anthony Green  <green@redhat.com>
      
              * libmath/stubs.c (sqrtf, sqrtl): Reorder so they appear before
              they're used.
      
      From-SVN: r73243
      Anthony Green committed
    • locale_facets.h (time_get::_M_extract_name): Add ctype argument. · 4c411e4f
      
      2003-11-03  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_facets.h (time_get::_M_extract_name): Add
      	ctype argument.
      	* include/bits/locale_facets.tcc: Same, use it to allow
      	capitalized names.
      
      	* include/bits/fstream.tcc: Spacing tweak.
      	* include/bits/istream.tcc: Same.
      	* include/bits/ostream.tcc: Same.
      
      From-SVN: r73242
      Benjamin Kosnik committed
    • locale_facets.h (time_get::_M_extract_name): Add ctype argument. · e0f05105
      
      2003-11-03  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/bits/locale_facets.h (time_get::_M_extract_name): Add
      	ctype argument.
      	* include/bits/locale_facets.tcc: Same, use it to allow
      	capitalized names.
      
      	* include/bits/fstream.tcc: Spacing tweak.
      	* include/bits/istream.tcc: Same.
      	* include/bits/ostream.tcc: Same.
      
      From-SVN: r73241
      Benjamin Kosnik committed
    • * libjava.compile/InnerExcept.java: New File. · 1b64e33f
      From-SVN: r73240
      Jeff Sturm committed
    • Makefile.in (cpp.dvi): New target split from cpp.info. · 63069342
      2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.in (cpp.dvi): New target split from cpp.info.
      	(gcc.dvi):  New target split from gcc.info.
      	(gccint.dvi): New target split from gccint.info.
      	(cppinternals.dvi): New target split from cppinternals.info
      	(gccinstall.info): New specific rule.
      	(gccinstall.dvi): Likewise.
      	(dvi): Move targets to $(docobjdir).
      	($(docobjdir)/%.dvi): New implicit rule.
      
      ada/
      2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Make-lang.in (dvi): Move targets to $(docobjdir).
      	(gnat_ug_vms.dvi): Simplify rule and adjust target.
      	(gnat_ug_wnt.dvi): Likewise.
      	(gnat_ug_unx.dvi): Likewise.
      	(gnat_ug_vxw.dvi): Likewise.
      	(gnat_rm.dvi): Likewise.
      	(gnat-style.dvi): Likewise.
      
      f/
      2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Make-lang.in (dvi): Move targets to $(docobjdir).
      	(g77.dvi): Simplify rule.
      	(g77.info): Sinplify rule.
      	(g77.1): Delete.
      	(g77.pod): New intermediate rule.
      
      java/
      2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Make-lang.in (dvi): Move targets to $(docobjdir).
      	(gcj.dvi): Simplify rule and adjust target.
      	(gcj.info): Simplify rule.
      	(gcj.pod): New intermediate rule.
      	(gcjh.pod): Likewise.
      	(jv-scan.pod): Likewise.
      	(jcf-dump.pod): Likewise.
      	(gij.pod): Likewise.
      	(jv-convert.pod): Likewise.
      	(rmic.pod): Likewise.
      	(rmiregistry.pod): Likewise.
      	(gcj.1): Delete.
      	(gcjh.1): Delete.
      	(jv-scan.1): Delete.
      	(jcf-dump.1): Delete.
      	(gij.1): Delete.
      	(jv-convert.1): Delete.
      	(rmic.1): Delete.
      	(rmiregistry.1): Delete.
      
      treelang/
      2003-11-03  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Make-lang.in (dvi): Move targets to $(docobjdir).
      	(treelang.dvi): Simplify rule and adjust target.
      	(treelang.info): Simplify rule.
      	(parse.o): Correct dependencies.
      	(TREE_EXE): Delete doubled suffix append.
      
      From-SVN: r73238
      Kelley Cook committed
    • Daily bump. · b1c512e7
      From-SVN: r73236
      GCC Administrator committed
  2. 03 Nov, 2003 14 commits
  3. 02 Nov, 2003 16 commits
  4. 01 Nov, 2003 1 commit