Commit 0c20e4ec by Nathan Sidwell Committed by Nathan Sidwell

libstdc++.exp (check_v3_target_fileio, [...]): New.

	* testsuite/lib/libstdc++.exp (check_v3_target_fileio,
        check_v3_target_time): New.
	* testsuite/lib/dg-options.exp (dg-require-fileio,
        dg-require-time): New.
	* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
	* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
	* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
	* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
	* testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
	* testsuite/ext/stdio_filebuf/char/2.cc: Use it.
	* testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
	* testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
	* testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
	* testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
	* testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
	* testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
	* testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
	* testsuite/27_io/objects/char/12048-2.cc: Use it.
	* testsuite/27_io/objects/char/12048-4.cc: Use it.
	* testsuite/27_io/objects/char/12048-1.cc: Use it.
	* testsuite/27_io/objects/char/12048-3.cc: Use it.
	* testsuite/27_io/objects/char/10.cc: Use it.
	* testsuite/27_io/objects/char/12048-5.cc: Use it.
	* testsuite/27_io/basic_istream/get/char/2.cc: Use it.
	* testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
	* testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
	* testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
	* testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
	* testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
	* testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
	* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
	* testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
	* testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
	* testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
	* testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
	* testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
	* testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
	* testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
	* testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
	* testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
	* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
	* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
	* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
	* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
	* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
	* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
	* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
	* testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
	* testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
	* testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
	* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
	* testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
	* testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
	* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
	* testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
	* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
	* testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
	* testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
	* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
	* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
	* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
	* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
	* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it.
	* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it.
	* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it.

From-SVN: r122913
parent 132f5e5f
2007-03-14 Nathan Sidwell <nathan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>::
* testsuite/lib/libstdc++.exp (check_v3_target_fileio,
check_v3_target_time): New.
* testsuite/lib/dg-options.exp (dg-require-fileio,
dg-require-time): New.
* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
* testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
* testsuite/27_io/objects/char/12048-2.cc: Use it.
* testsuite/27_io/objects/char/12048-4.cc: Use it.
* testsuite/27_io/objects/char/12048-1.cc: Use it.
* testsuite/27_io/objects/char/12048-3.cc: Use it.
* testsuite/27_io/objects/char/10.cc: Use it.
* testsuite/27_io/objects/char/12048-5.cc: Use it.
* testsuite/27_io/basic_istream/get/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
* testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
* testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
* testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
* testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it.
2007-03-13 Paolo Carlini <pcarlini@suse.de> 2007-03-13 Paolo Carlini <pcarlini@suse.de>
* include/tr1/tuple: Only include <utility> for std::pair, and * include/tr1/tuple: Only include <utility> for std::pair, and
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 21.3.7.9 inserters and extractors // 21.3.7.9 inserters and extractors
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <string> #include <string>
#include <fstream> #include <fstream>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 21.3.7.9 inserters and extractors // 21.3.7.9 inserters and extractors
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <string> #include <string>
#include <fstream> #include <fstream>
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
// working, not to mention other major details like char_traits, and // working, not to mention other major details like char_traits, and
// all of the string class. // all of the string class.
// { dg-require-fileio "" }
#include <string> #include <string>
#include <fstream> #include <fstream>
#include <iostream> #include <iostream>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 22.2.5.3.1 time_put members // 22.2.5.3.1 time_put members
// { dg-require-time "" }
#include <locale> #include <locale>
#include <sstream> #include <sstream>
#include <ctime> #include <ctime>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 22.2.5.3.1 time_put members // 22.2.5.3.1 time_put members
// { dg-require-time "" }
#include <locale> #include <locale>
#include <sstream> #include <sstream>
#include <ctime> #include <ctime>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// various tests for filebuf::open() and filebuf::close() including // various tests for filebuf::open() and filebuf::close() including
// the non-portable functionality in the libstdc++-v3 IO library // the non-portable functionality in the libstdc++-v3 IO library
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
#include <locale> #include <locale>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
#include <locale> #include <locale>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
#include <locale> #include <locale>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.5.2.2.3 Get area // 27.5.2.2.3 Get area
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// various tests for filebuf::open() and filebuf::close() including // various tests for filebuf::open() and filebuf::close() including
// the non-portable functionality in the libstdc++-v3 IO library // the non-portable functionality in the libstdc++-v3 IO library
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.3 filebuf member functions // 27.8.1.3 filebuf member functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// various tests for filebuf::open() and filebuf::close() including // various tests for filebuf::open() and filebuf::close() including
// the non-portable functionality in the libstdc++-v3 IO library // the non-portable functionality in the libstdc++-v3 IO library
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// various tests for filebuf::open() and filebuf::close() including // various tests for filebuf::open() and filebuf::close() including
// the non-portable functionality in the libstdc++-v3 IO library // the non-portable functionality in the libstdc++-v3 IO library
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// various tests for filebuf::open() and filebuf::close() including // various tests for filebuf::open() and filebuf::close() including
// the non-portable functionality in the libstdc++-v3 IO library // the non-portable functionality in the libstdc++-v3 IO library
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <locale> #include <locale>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <locale> #include <locale>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <locale> #include <locale>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.7.1.3 Overridden virtual functions // 27.7.1.3 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.7.1.3 Overridden virtual functions // 27.7.1.3 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.7.1.3 Overridden virtual functions // 27.7.1.3 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale> #include <locale>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.7.1.3 Overridden virtual functions // 27.7.1.3 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.7.1.3 Overridden virtual functions // 27.7.1.3 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.7.1.3 Overridden virtual functions // 27.7.1.3 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
#include <testsuite_io.h> #include <testsuite_io.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <locale> #include <locale>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <string> #include <string>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.8.1.4 Overridden virtual functions // 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.6.1.2.3 basic_istream::operator>> // 27.6.1.2.3 basic_istream::operator>>
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <string> #include <string>
#include <fstream> #include <fstream>
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.6.1.3 unformatted input functions // 27.6.1.3 unformatted input functions
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <string> #include <string>
#include <fstream> #include <fstream>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// 27.6.1.3 unformatted input functions // 27.6.1.3 unformatted input functions
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <string> #include <string>
#include <fstream> #include <fstream>
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <fstream> #include <fstream>
#include <limits> #include <limits>
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream> #include <istream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// @require@ %-*.tst // @require@ %-*.tst
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <ostream> #include <ostream>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// @require@ %-*.tst // @require@ %-*.tst
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <ostream> #include <ostream>
#include <fstream> #include <fstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <ostream> #include <ostream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// @require@ %-*.tst %-*.txt // @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <ostream> #include <ostream>
#include <istream> #include <istream>
#include <fstream> #include <fstream>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// 27.6.2.4 basic_ostream seek members // 27.6.2.4 basic_ostream seek members
// { dg-require-fileio "" }
#include <ostream> #include <ostream>
#include <sstream> #include <sstream>
#include <fstream> #include <fstream>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <iostream> #include <iostream>
#include <cstdio> #include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <iostream> #include <iostream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <iostream> #include <iostream>
#include <cstdio> #include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <iostream> #include <iostream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <iostream> #include <iostream>
#include <cstdio> #include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
// equivalent and interchangable. Currently however, cin.rdbuf()->sungetc() // equivalent and interchangable. Currently however, cin.rdbuf()->sungetc()
// only returns characters that were read with cin.rdbuf()->sbumpc() // only returns characters that were read with cin.rdbuf()->sbumpc()
// { dg-require-fileio "" }
// { dg-do run { xfail *-*-* } } // { dg-do run { xfail *-*-* } }
#include <iostream> #include <iostream>
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <cstdio> #include <cstdio>
#include <fstream> #include <fstream>
#include <ext/stdio_filebuf.h> #include <ext/stdio_filebuf.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// causes "sbumpc" to return an incorrect value. // causes "sbumpc" to return an incorrect value.
// { dg-do run { xfail arm*-*-elf arm*-*-eabi } } // { dg-do run { xfail arm*-*-elf arm*-*-eabi } }
// { dg-require-fileio "" }
#include <cstdio> #include <cstdio>
#include <fstream> #include <fstream>
#include <ext/stdio_filebuf.h> #include <ext/stdio_filebuf.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// causes "sbumpc" to return an incorrect value. // causes "sbumpc" to return an incorrect value.
// { dg-do run { xfail arm*-*-elf arm*-*-eabi } } // { dg-do run { xfail arm*-*-elf arm*-*-eabi } }
// { dg-require-fileio "" }
#include <cstdio> #include <cstdio>
#include <fstream> #include <fstream>
#include <ext/stdio_sync_filebuf.h> #include <ext/stdio_sync_filebuf.h>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
// stdio_filebuf.h // stdio_filebuf.h
// { dg-require-fileio "" }
#include <ext/stdio_filebuf.h> #include <ext/stdio_filebuf.h>
#include <cstdio> #include <cstdio>
#include <fstream> #include <fstream>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <ext/stdio_sync_filebuf.h> #include <ext/stdio_sync_filebuf.h>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <ext/stdio_sync_filebuf.h> #include <ext/stdio_sync_filebuf.h>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <ext/stdio_sync_filebuf.h> #include <ext/stdio_sync_filebuf.h>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <ext/stdio_sync_filebuf.h> #include <ext/stdio_sync_filebuf.h>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,8 @@ ...@@ -18,6 +18,8 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA. // USA.
// { dg-require-fileio "" }
#include <ext/stdio_sync_filebuf.h> #include <ext/stdio_sync_filebuf.h>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -26,6 +26,24 @@ proc dg-require-namedlocale { args } { ...@@ -26,6 +26,24 @@ proc dg-require-namedlocale { args } {
return return
} }
proc dg-require-fileio { args } {
if { ![ check_v3_target_fileio ] } {
upvar dg-do-what dg-do-what
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
return
}
return
}
proc dg-require-time { args } {
if { ![ check_v3_target_time ] } {
upvar dg-do-what dg-do-what
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
return
}
return
}
proc dg-require-sharedlib { args } { proc dg-require-sharedlib { args } {
if { ![ check_v3_target_sharedlib ] } { if { ![ check_v3_target_sharedlib ] } {
upvar dg-do-what dg-do-what upvar dg-do-what dg-do-what
......
...@@ -495,11 +495,138 @@ proc v3-build_support { } { ...@@ -495,11 +495,138 @@ proc v3-build_support { } {
} }
} }
proc check_v3_target_fileio { } {
global et_fileio_saved
global et_fileio_target_name
global tool
if { ![info exists et_fileio_target_name] } {
set et_fileio_target_name ""
}
# If the target has changed since we set the cached value, clear it.
set current_target [current_target_name]
if { $current_target != $et_fileio_target_name } {
verbose "check_v3_target_fileio: `$et_fileio_target_name'" 2
set et_fileio_target_name $current_target
if [info exists et_fileio_saved] {
verbose "check_v3_target_fileio: removing cached result" 2
unset et_fileio_saved
}
}
if [info exists et_fileio_saved] {
verbose "check_v3_target_fileio: using cached result" 2
} else {
set et_fileio_saved 0
# Set up, compile, and execute a C++ test program that tries to use
# the file functions
set src fileio[pid].cc
set exe fileio[pid].x
set f [open $src "w"]
puts $f "#include <sys/types.h>"
puts $f "#include <sys/stat.h>"
puts $f "#include <fcntl.h>"
puts $f "#include <unistd.h>"
puts $f "#include <errno.h>"
puts $f "using namespace std;"
puts $f "int main ()"
puts $f "{"
puts $f " int fd = open (\".\", O_RDONLY);"
puts $f " if (fd == -1)"
puts $f " {"
puts $f " int err = errno;"
puts $f " if (err == EIO || err == ENOSYS)"
puts $f " return 1;"
puts $f " }"
puts $f " else"
puts $f " close (fd);"
puts $f " return 0;"
puts $f "}"
close $f
set lines [v3_target_compile $src $exe executable ""]
file delete $src
if [string match "" $lines] {
# No error message, compilation succeeded.
set result [${tool}_load "./$exe" "" ""]
set status [lindex $result 0]
remote_file build delete $exe
verbose "check_v3_target_fileio: status is <$status>" 2
if { $status == "pass" } {
set et_fileio_saved 1
}
} else {
verbose "check_v3_target_fileio: compilation failed" 2
}
}
return $et_fileio_saved
}
proc check_v3_target_sharedlib { } { proc check_v3_target_sharedlib { } {
global v3-sharedlib global v3-sharedlib
return ${v3-sharedlib} return ${v3-sharedlib}
} }
proc check_v3_target_time { } {
global et_time_saved
global et_time_target_name
global tool
if { ![info exists et_time_target_name] } {
set et_time_target_name ""
}
# If the target has changed since we set the cached value, clear it.
set current_target [current_target_name]
if { $current_target != $et_time_target_name } {
verbose "check_v3_target_time: `$et_time_target_name'" 2
set et_time_target_name $current_target
if [info exists et_time_saved] {
verbose "check_v3_target_time: removing cached result" 2
unset et_time_saved
}
}
if [info exists et_time_saved] {
verbose "check_v3_target_time: using cached result" 2
} else {
set et_time_saved 0
# Set up and compile a C++ test program that tries to use
# the time function
set src time[pid].cc
set exe time[pid].x
set f [open $src "w"]
puts $f "#include <time.h>"
puts $f "using namespace std;"
puts $f "int main ()"
puts $f "{"
puts $f " time (0);"
puts $f "}"
close $f
set lines [v3_target_compile $src $exe executable ""]
file delete $src
if [string match "" $lines] {
# No error message, compilation succeeded.
verbose "check_v3_target_time: compilation succeeded" 2
remote_file build delete $exe
set et_time_saved 1
} else {
verbose "check_v3_target_time: compilation failed" 2
}
}
return $et_time_saved
}
proc check_v3_target_namedlocale { } { proc check_v3_target_namedlocale { } {
global et_namedlocale_saved global et_namedlocale_saved
global et_namedlocale_target_name global et_namedlocale_target_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment