gcc/libstdc++-v3/testsuite
Paolo Carlini ac3cadf042 re PR libstdc++/13858 (Bad error handling in basic_filebuf::imbue)
2004-02-14  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/13858
	* include/bits/fstream.tcc (basic_filebuf<>::_M_convert_to_external):
	In case of conversion errors, throw ios_failure; simplify.
	* testsuite/27_io/basic_filebuf/overflow/char/13858.cc: New.
	* testsuite/27_io/basic_filebuf/overflow/wchar_t/13858.cc: Ditto.
	* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Tweak,
	previously we didn't throw in case of conversion errors, instead
	just returned eof().
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Ditto.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Ditto.
	* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Ditto.

	* include/bits/fstream.tcc (basic_filebuf<>::overflow):
	Trivial simplification of a conditional.

From-SVN: r77812
2004-02-14 19:04:00 +00:00
..
17_intro locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
18_support re PR libstdc++/14026 (std::uncaught_exception is true although there are no uncaught exceptions (rethrow, ghost exception)) 2004-02-08 10:01:23 -08:00
19_diagnostics locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
20_util c_locale.h: Change ::malloc() to new char[]. 2004-01-30 03:43:00 +00:00
21_strings 6.cc: New. 2004-01-30 23:26:13 +00:00
22_locale re PR libstdc++/14071 (locale::global doesn't always call setlocale) 2004-02-09 23:10:47 +00:00
23_containers re PR libstdc++/13838 (std::bitset<>::operator |= error with -D_GLIBCXX_DEBUG) 2004-01-24 01:25:37 +00:00
24_iterators streambuf_iterator.h (ostreambuf_iterator): Remove non-standard throw specs. 2003-11-24 21:02:39 +00:00
25_algorithms [multiple changes] 2003-11-11 20:09:16 +00:00
26_numerics numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. 2003-12-22 21:05:22 +00:00
27_io re PR libstdc++/13858 (Bad error handling in basic_filebuf::imbue) 2004-02-14 19:04:00 +00:00
backward numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. 2003-12-22 21:05:22 +00:00
config *.cc: Remove spaces, make sure testcases return zero. 2001-05-12 16:53:08 +00:00
data cin_unget-1.txt: New. 2003-08-26 11:46:22 +00:00
demangle re PR libstdc++/13045 (Demangler does demangle floating values.) 2003-12-05 02:40:53 +00:00
ext 10063-2.cc: Treat unbuffered. 2004-01-20 01:30:03 +00:00
lib libstdc++.exp: Set LD_LIBRARY_PATH_32 for Solaris. 2004-01-12 21:47:44 +01:00
libstdc++-dg 5.cc: Don't use stdc++.h.gch. 2003-12-22 20:09:23 +00:00
performance re PR libstdc++/14078 (Manipulators are slow) 2004-02-11 12:08:23 +00:00
thread locale_facets.tcc: Tweak to avoid warnings. 2003-09-23 20:03:30 +00:00
Makefile.am re PR libstdc++/11612 (abi_check not finding correct libgcc_s.so.1) 2003-12-10 21:43:10 +00:00
Makefile.in acconfig.h: Add _GLIBCXX_USE_C99_MATH. 2003-12-29 19:26:16 +00:00
abi_check.cc create_testsuite_files: New file. 2003-07-06 03:14:37 +00:00
printnow.c libstdc++-v3: New directory. 2000-04-21 20:33:34 +00:00
testsuite_allocator.cc *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
testsuite_allocator.h *: Change __gnu_cxx_test to __gnu_test. 2003-07-24 21:08:03 +00:00
testsuite_character.h re PR libstdc++/12790 (basic_filebuf doesn't handle stateful encodings) 2003-11-04 05:27:41 +00:00
testsuite_hooks.cc testsuite_hooks.cc (try_mkfifo): Avoid calling mkfifo for mingw32. 2004-01-16 08:43:45 +00:00
testsuite_hooks.h testsuite_hooks.h (__gnu_test::try_mkfifo): Declare it. 2004-01-12 08:11:08 +00:00
testsuite_io.h basic_ios.h (basic_ios::setstate): Revert. 2003-12-02 02:48:51 +00:00
testsuite_performance.h check_performance: Only compile with $THREAD_FLAG when test is marked to require it. 2004-01-30 08:24:27 +00:00