1. 03 Oct, 2004 22 commits
  2. 02 Oct, 2004 15 commits
  3. 01 Oct, 2004 3 commits
    • s390-protos.h (s390_comparison): Add prototype. · 5b022de5
      	* config/s390/s390-protos.h (s390_comparison): Add prototype.
      	* config/s390/s390.c (s390_comparison): New function.
      	(s390_branch_condition_mask): Return -1 for invalid comparisons.
      	(s390_branch_condition_mnemonic): Assert valid comparison.
      	* config/s390/s390.h (PREDICATE_CODES): Add s390_comparison.
      	* config/s390/s390.md ("*cjump_64", "*cjump_31", "*cjump_long",
      	"*icjump_64", "*icjump_31", "*icjump_long", "*trap"): Use
      	s390_comparison instead of comparison_operator.
      
      	* config/s390/s390.md (UNSPEC_CMPINT): New constant.
      	("cmpmemdi"): Remove.
      	("cmpmem_short", "*cmpmem_short"): Use CCUmode instead of CCSmode.
      	("cmpmem_long", "*cmpmem_long_64", "*cmpmem_long_31"): Likewise.
      	("cmpint_si"): Rename to ...
      	("*cmpint_si"): ... this.  Use UNSPEC_CMPINT.
      	("cmpint_di", "*cmpint_di"): Likewise.
      	* config/s390/s390.c (s390_canonicalize_comparison): Remove
      	redundant UNSPEC_CMPINT conversions.
      	(s390_expand_cmpmem): Adapt to cmpint pattern changes.
      
      From-SVN: r88410
      Ulrich Weigand committed
    • sstream.tcc (pbackfail): Implement correctly 27.7.1.3/2, bullet 2... · abccc4f6
      2004-10-01  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/sstream.tcc (pbackfail): Implement correctly
      	27.7.1.3/2, bullet 2: if mode & ios_base::out is false do not
      	write in the buffer.
      	* testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: New.
      	* testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
      	* testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
      	* testsuite/27_io/basic_istream/putback/char/1.cc: Tweak consistently.
      
      From-SVN: r88407
      Paolo Carlini committed