1. 14 Nov, 2003 33 commits
  2. 13 Nov, 2003 7 commits
    • re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong) · a2dcfada
      2003-11-13  Paolo Carlini  <pcarlini@suse.de>
      	    Petur Runolfsson  <peturr02@ru.is>
      
      	PR libstdc++/13007
      	* include/bits/fstream.tcc (imbue): Don't touch the stored
      	locale.
      	* include/std/std_streambuf.h (imbue): According to the
      	standard, base class version does nothing.
      	(pubimbue): Store the locale.
      	* testsuite/27_io/basic_filebuf/imbue/char/13007.cc: New.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: New.
      	* testsuite/27_io/basic_filebuf/imbue/char/2.cc: Tweak.
      	* testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: New.
      	* testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: New.
      	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: New.
      	* testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: New.
      
      Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
      
      From-SVN: r73563
      Paolo Carlini committed
    • lib1funcs.asm (___udivsi3): Jump to reti instead of exitdiv. · ab7c6efd
      	* config/h8300/lib1funcs.asm (___udivsi3): Jump to reti
      	instead of exitdiv.
      	(___umodsi3): Likewise.
      	(exitdiv): Do not restore any register.
      	(reti): Restore registers.
      
      From-SVN: r73560
      Kazu Hirata committed
    • * tree-inline.c (walk_tree): Handle PLACEHOLDER_EXPR. · 415294f0
      From-SVN: r73557
      Steven Bosscher committed
    • * config/h8300/lib1funcs.asm: Fix comment typos. · c9b010ea
      From-SVN: r73556
      Kazu Hirata committed
    • lib1funcs.asm (udivsi3): Don't save/restore unused registers. · 1a679679
      	* config/h8300/lib1funcs.asm (udivsi3): Don't save/restore
      	unused registers.  Don't jump to exitdiv.
      	(umodsi3): Likewise.
      
      From-SVN: r73555
      Kazu Hirata committed
    • re PR c/13029 (static consts and -Wunused-variable) · 49012f5c
      	PR c/13029
      	* toplev.c (check_global_declarations): Do not warn about unused
      	static consts.
      
      	PR c/13029
      	* gcc.dg/unused-4.c: Update.
      
      Co-Authored-By: Kean Johnston <jkj@sco.com>
      
      From-SVN: r73554
      Mark Mitchell committed
    • re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented) · 5681c890
      
      2003-11-13  Petur Runolfsson  <peturr02@ru.is>
      
      	PR libstdc++/12594
      	* include/bits/ostream.tcc
      	(basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)),
      	basic_ostream::operator<<(basic_ios& (*)(basic_ios&)),
      	basic_ostream::operator<<(ios_base& (*)(ios_base&))):
      	Implement the resolution of DR 60 (TC): These are not formatted
      	output functions so don't construct sentry objects and don't
      	catch exceptions.
      	(basic_ostream::put, basic_ostream::write): Implement the
      	resolution of DR 63 (TC) by catching exceptions and setting
      	badbit.
      	(basic_ostream::flush): Implement the resolution of DR 60 (TC):
      	This is not an unformatted output function so don't construct
      	a sentry object.
      	* testsuite/testsuite_io.h (sync_streambuf): Define.
      	* testsuite/27_io/basic_ostream/flush/char/2.cc: New test.
      	* testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test.
      	* testsuite/27_io/basic_ostream/put/char/1.cc: New test.
      	* testsuite/27_io/basic_ostream/write/char/1.cc: New test.
      
      From-SVN: r73551
      Petur Runolfsson committed