From: Paolo Carlini Date: Mon, 17 Oct 2016 22:24:50 +0000 (+0000) Subject: 12790-1.cc: Remove 'test' variables. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd0bf20c72ff2738c2d909b52489a7fb5e258df5;p=gcc.git 12790-1.cc: Remove 'test' variables. 2016-10-17 Paolo Carlini * testsuite/27_io/basic_filebuf/close/12790-1.cc: Remove 'test' variables. * testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/3.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/4.cc: Likewise. * testsuite/27_io/basic_filebuf/close/char/5.cc: Likewise. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/cons/2020.cc: Likewise. * testsuite/27_io/basic_filebuf/cons/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/12206.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise. * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Likewise. * testsuite/27_io/basic_filebuf/is_open/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/open/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/3.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/4.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/char/2.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/char/3599.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise. * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise. * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: Likewise. * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Likewise. * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Likewise. * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Likewise. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Likewise. * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/59427.cc: Likewise. * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/59427.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Likewise. * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: Likewise. * testsuite/27_io/basic_filebuf/sync/char/1057.cc: Likewise. * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/2.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/3.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise. * testsuite/27_io/basic_fstream/cons/1.cc: Likewise. * testsuite/27_io/basic_fstream/rdbuf/char/2832.cc: Likewise. * testsuite/27_io/basic_ifstream/cons/2020.cc: Likewise. * testsuite/27_io/basic_ifstream/cons/char/1.cc: Likewise. * testsuite/27_io/basic_ifstream/open/char/1.cc: Likewise. * testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc: Likewise. * testsuite/27_io/basic_ios/clear/char/1.cc: Likewise. * testsuite/27_io/basic_ios/cons/2020.cc: Likewise. * testsuite/27_io/basic_ios/cons/char/1.cc: Likewise. * testsuite/27_io/basic_ios/cons/char/2.cc: Likewise. * testsuite/27_io/basic_ios/cons/char/3.cc: Likewise. * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise. * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise. * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise. * testsuite/27_io/basic_ios/imbue/14072.cc: Likewise. * testsuite/27_io/basic_ios/locales/char/1.cc: Likewise. * testsuite/27_io/basic_iostream/cons/2020.cc: Likewise. * testsuite/27_io/basic_istream/cons/3.cc: Likewise. * testsuite/27_io/basic_istream/exceptions/char/9561.cc: Likewise. * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/ exceptions_failbit.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/char/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/ wchar_t/9555-ia.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ dr696.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ exceptions_failbit.cc: Likewise. * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/char/1.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/char/2.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/char/3.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/char/4.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 11095-i.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_istream/extractors_character/wchar_t/ 9555-ic.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/3.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/ error_failbit.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/char/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/ error_failbit.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/extractors_other/wchar_t/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_istream/get/char/1.cc: Likewise. * testsuite/27_io/basic_istream/get/char/2.cc: Likewise. * testsuite/27_io/basic_istream/get/char/3.cc: Likewise. * testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/4.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. * testsuite/27_io/basic_istream/getline/char/6.cc: Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: Likewise. * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise. * testsuite/27_io/basic_istream/ignore/char/2.cc: Likewise. * testsuite/27_io/basic_istream/ignore/char/3.cc: Likewise. * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise. * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise. * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/char/12296.cc: Likewise. * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise. * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. * testsuite/27_io/basic_istream/read/char/3.cc: Likewise. * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_istream/readsome/char/6746-1.cc: Likewise. * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Likewise. * testsuite/27_io/basic_istream/readsome/char/8258.cc: Likewise. * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise. * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise. * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/2.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/26211.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/fstream.cc: Likewise. * testsuite/27_io/basic_istream/seekg/char/sstream.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise. * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise. * testsuite/27_io/basic_istream/sentry/char/1.cc: Likewise. * testsuite/27_io/basic_istream/sentry/char/2.cc: Likewise. * testsuite/27_io/basic_istream/sentry/char/3.cc: Likewise. * testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise. * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/1.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/2.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/fstream.cc: Likewise. * testsuite/27_io/basic_istream/tellg/char/sstream.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise. * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise. * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise. * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_istringstream/cons/2020.cc: Likewise. * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Likewise. * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: Likewise. * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise. * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ofstream/cons/2020.cc: Likewise. * testsuite/27_io/basic_ofstream/cons/char/1.cc: Likewise. * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise. * testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc: Likewise. * testsuite/27_io/basic_ostream/cons/2020.cc: Likewise. * testsuite/27_io/basic_ostream/cons/char/9827.cc: Likewise. * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: Likewise. * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/ends/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/flush/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/ 9555-oa.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/6.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/8.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 11095-od.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 11095-oe.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 11095-of.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-1.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 9555-oc.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ error_failbit.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/char/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ 9318-out.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ 9424-out.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ 9555-oo.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ error_code.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ error_failbit.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ exceptions_failbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ exceptions_null.cc: Likewise. * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc: Likewise. * testsuite/27_io/basic_ostream/seekp/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/char/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_ostream/tellp/wchar_t/ exceptions_badbit_throw.cc: Likewise. * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise. * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostringstream/cons/2020.cc: Likewise. * testsuite/27_io/basic_ostringstream/cons/char/3.cc: Likewise. * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc: Likewise. * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise. * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise. * testsuite/27_io/basic_ostringstream/str/char/2.cc: Likewise. * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_streambuf/cons/2020.cc: Likewise. * testsuite/27_io/basic_streambuf/cons/57394.cc: Likewise. * testsuite/27_io/basic_streambuf/cons/char/1.cc: Likewise. * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise. * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise. * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise. * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise. * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise. * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: Likewise. * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. * testsuite/27_io/basic_streambuf/overflow/char/2.cc: Likewise. * testsuite/27_io/basic_streambuf/overflow/char/3599.cc: Likewise. * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise. * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise. * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise. * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise. * testsuite/27_io/basic_stringbuf/cons/2020.cc: Likewise. * testsuite/27_io/basic_stringbuf/cons/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise. * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise. * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/char/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/char/3599.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/char/9988.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc: Likewise. * testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc: Likewise. * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: Likewise. * 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_stringbuf/sbumpc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/char/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/char/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: Likewise. * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/char/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/char/3.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/char/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/char/3.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/char/3955.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc: Likewise. * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sync/char/1057.cc: Likewise. * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise. * testsuite/27_io/basic_stringstream/cons/2020.cc: Likewise. * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Likewise. * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: Likewise. * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise. * testsuite/27_io/basic_stringstream/str/char/2.cc: Likewise. * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise. * testsuite/27_io/basic_stringstream/str/char/4.cc: Likewise. * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise. * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise. * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise. * testsuite/27_io/fpos/11450.cc: Likewise. * testsuite/27_io/fpos/14252.cc: Likewise. * testsuite/27_io/fpos/14320-1.cc: Likewise. * testsuite/27_io/fpos/14320-2.cc: Likewise. * testsuite/27_io/fpos/14320-3.cc: Likewise. * testsuite/27_io/fpos/14320-4.cc: Likewise. * testsuite/27_io/fpos/14320-5.cc: Likewise. * testsuite/27_io/fpos/14775.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/1.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/12065.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise. * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise. * testsuite/27_io/ios_base/callbacks/1.cc: Likewise. * testsuite/27_io/ios_base/failure/what-1.cc: Likewise. * testsuite/27_io/ios_base/failure/what-2.cc: Likewise. * testsuite/27_io/ios_base/failure/what-3.cc: Likewise. * testsuite/27_io/ios_base/failure/what-big.cc: Likewise. * testsuite/27_io/ios_base/state/1.cc: Likewise. * testsuite/27_io/ios_base/storage/1.cc: Likewise. * testsuite/27_io/ios_base/storage/11584.cc: Likewise. * testsuite/27_io/ios_base/storage/2.cc: Likewise. * testsuite/27_io/ios_base/sync_with_stdio/2.cc: Likewise. * testsuite/27_io/manipulators/adjustfield/char/1.cc: Likewise. * testsuite/27_io/manipulators/adjustfield/char/2.cc * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise. * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise. * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise. * testsuite/27_io/manipulators/extended/get_money/char/51288.cc: Likewise. * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc: Likewise. * testsuite/27_io/manipulators/extended/get_time/char/1.cc * testsuite/27_io/manipulators/extended/get_time/char/2.cc: Likewise. * testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/char/51288.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc: Likewise. * testsuite/27_io/manipulators/extended/put_time/char/1.cc: Likewise. * testsuite/27_io/manipulators/extended/put_time/char/2.cc: Likewise. * testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc: Likewise. * testsuite/27_io/manipulators/standard/char/1.cc: Likewise. * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. * testsuite/27_io/manipulators/standard/char/dr2344.cc: Likewise. * testsuite/27_io/manipulators/standard/char/quoted.cc: Likewise. * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise. * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise. * testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: Likewise. * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: Likewise. * testsuite/27_io/objects/char/1.cc: Likewise. * testsuite/27_io/objects/char/10.cc: Likewise. * testsuite/27_io/objects/char/3045.cc: Likewise. * testsuite/27_io/objects/char/41037.cc: Likewise. * testsuite/27_io/objects/char/5.cc: Likewise. * testsuite/27_io/objects/char/6.cc: Likewise. * testsuite/27_io/objects/char/6548_xin.cc: Likewise. * testsuite/27_io/objects/char/6648-1_xin.cc: Likewise. * testsuite/27_io/objects/char/6648-2_xin.cc: Likewise. * testsuite/27_io/objects/char/7744_xin.cc: Likewise. * testsuite/27_io/objects/char/8.cc: Likewise. * testsuite/27_io/objects/char/9.cc: Likewise. * testsuite/27_io/objects/char/9661-2_xin.cc: Likewise. * testsuite/27_io/objects/char/dr455.cc: Likewise. * testsuite/27_io/objects/wchar_t/1.cc: Likewise. * testsuite/27_io/objects/wchar_t/10.cc: Likewise. * testsuite/27_io/objects/wchar_t/11.cc: Likewise. * testsuite/27_io/objects/wchar_t/12.cc: Likewise. * testsuite/27_io/objects/wchar_t/13.cc: Likewise. * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Likewise. * testsuite/27_io/objects/wchar_t/3045.cc: Likewise. * testsuite/27_io/objects/wchar_t/41037.cc: Likewise. * testsuite/27_io/objects/wchar_t/5.cc: Likewise. * testsuite/27_io/objects/wchar_t/6548_xin.cc: Likewise. * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: Likewise. * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: Likewise. * testsuite/27_io/objects/wchar_t/7744_xin.cc: Likewise. * testsuite/27_io/objects/wchar_t/8.cc: Likewise. * testsuite/27_io/objects/wchar_t/9520.cc: Likewise. * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: Likewise. * testsuite/27_io/objects/wchar_t/9662.cc: Likewise. * testsuite/27_io/objects/wchar_t/dr455.cc: Likewise. * testsuite/27_io/types/3.cc: Likewise. From-SVN: r241283 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 37ecc9c6392..0339477e277 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,855 @@ +2016-10-17 Paolo Carlini + + * testsuite/27_io/basic_filebuf/close/12790-1.cc: Remove 'test' + variables. + * testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/4.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/char/5.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/cons/2020.cc: Likewise. + * testsuite/27_io/basic_filebuf/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/12206.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise. + * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/is_open/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/open/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/open/char/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/open/char/4.cc: Likewise. + * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/char/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/char/3599.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Likewise. + * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: + Likewise. + * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: + Likewise. + * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc + * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/59427.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/59427.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Likewise. + * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Likewise. + * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise. + * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: Likewise. + * testsuite/27_io/basic_filebuf/sync/char/1057.cc: Likewise. + * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/char/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/char/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/char/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise. + * testsuite/27_io/basic_fstream/cons/1.cc: Likewise. + * testsuite/27_io/basic_fstream/rdbuf/char/2832.cc: Likewise. + * testsuite/27_io/basic_ifstream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_ifstream/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_ifstream/open/char/1.cc: Likewise. + * testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc: Likewise. + * testsuite/27_io/basic_ios/clear/char/1.cc: Likewise. + * testsuite/27_io/basic_ios/cons/2020.cc: Likewise. + * testsuite/27_io/basic_ios/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_ios/cons/char/2.cc: Likewise. + * testsuite/27_io/basic_ios/cons/char/3.cc: Likewise. + * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise. + * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise. + * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise. + * testsuite/27_io/basic_ios/imbue/14072.cc: Likewise. + * testsuite/27_io/basic_ios/locales/char/1.cc: Likewise. + * testsuite/27_io/basic_iostream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_istream/cons/3.cc: Likewise. + * testsuite/27_io/basic_istream/exceptions/char/9561.cc: Likewise. + * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/ + exceptions_failbit.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/char/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/ + wchar_t/9555-ia.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ + dr696.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ + exceptions_failbit.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_character/char/1.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/char/2.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/char/3.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/char/4.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/ + 11095-i.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/ + 9555-ic.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/26181.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/3.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/ + error_failbit.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/char/ + exceptions_null.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/ + error_failbit.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/ + exceptions_null.cc: Likewise. + * testsuite/27_io/basic_istream/get/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/get/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/get/char/3.cc: Likewise. + * testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise. + * testsuite/27_io/basic_istream/getline/char/4.cc: Likewise. + * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise. + * testsuite/27_io/basic_istream/getline/char/6.cc: Likewise. + * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise. + * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise. + * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/char/3.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise. + * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/peek/char/12296.cc: Likewise. + * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise. + * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. + * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise. + * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/read/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/read/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/read/char/3.cc: Likewise. + * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_istream/readsome/char/6746-1.cc: Likewise. + * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Likewise. + * testsuite/27_io/basic_istream/readsome/char/8258.cc: Likewise. + * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise. + * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise. + * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/char/26211.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/char/fstream.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/char/sstream.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise. + * testsuite/27_io/basic_istream/sentry/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/sentry/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/sentry/char/3.cc: Likewise. + * testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise. + * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/char/2.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/char/fstream.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/char/sstream.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise. + * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise. + * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istringstream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Likewise. + * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: Likewise. + * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise. + * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ofstream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_ofstream/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise. + * testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc: Likewise. + * testsuite/27_io/basic_ostream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_ostream/cons/char/9827.cc: Likewise. + * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: Likewise. + * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/ends/char/2.cc: Likewise. + * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise. + * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise. + * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise. + * testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc: + Likewise. + * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_ostream/flush/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/3.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/char/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/3.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/ + 9555-oa.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/2.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/3.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/4.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/5.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/6.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/8.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 11095-od.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 11095-oe.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 11095-of.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 28277-1.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 28277-2.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 28277-3.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 28277-4.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ + 9555-oc.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc: + Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/ + error_failbit.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/char/ + exceptions_null.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + 9318-out.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + 9424-out.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + 9555-oo.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + error_code.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + error_failbit.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + exceptions_failbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ + exceptions_null.cc: Likewise. + * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Likewise. + * testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc: Likewise. + * testsuite/27_io/basic_ostream/seekp/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc: Likewise. + * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc: Likewise. + * testsuite/27_io/basic_ostream/seekp/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/sentry/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise. + * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise. + * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise. + * testsuite/27_io/basic_ostream/tellp/char/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_ostream/tellp/wchar_t/ + exceptions_badbit_throw.cc: Likewise. + * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise. + * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_ostringstream/cons/char/3.cc: Likewise. + * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc: Likewise. + * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise. + * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/str/char/2.cc: Likewise. + * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_streambuf/cons/2020.cc: Likewise. + * testsuite/27_io/basic_streambuf/cons/57394.cc: Likewise. + * testsuite/27_io/basic_streambuf/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise. + * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise. + * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise. + * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise. + * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise. + * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise. + * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/overflow/char/2.cc: Likewise. + * testsuite/27_io/basic_streambuf/overflow/char/3599.cc: Likewise. + * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc: Likewise. + * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise. + * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise. + * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise. + * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise. + * testsuite/27_io/basic_stringbuf/cons/2020.cc: Likewise. + * testsuite/27_io/basic_stringbuf/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise. + * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise. + * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/char/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/char/3599.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/char/9988.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc: Likewise. + * testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc: Likewise. + * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: Likewise. + * 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_stringbuf/sbumpc/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/char/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/char/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: Likewise. + * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/char/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/char/3.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/char/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/char/3.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/char/3955.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sync/char/1057.cc: Likewise. + * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise. + * testsuite/27_io/basic_stringstream/cons/2020.cc: Likewise. + * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Likewise. + * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/char/2.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/char/4.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise. + * testsuite/27_io/fpos/11450.cc: Likewise. + * testsuite/27_io/fpos/14252.cc: Likewise. + * testsuite/27_io/fpos/14320-1.cc: Likewise. + * testsuite/27_io/fpos/14320-2.cc: Likewise. + * testsuite/27_io/fpos/14320-3.cc: Likewise. + * testsuite/27_io/fpos/14320-4.cc: Likewise. + * testsuite/27_io/fpos/14320-5.cc: Likewise. + * testsuite/27_io/fpos/14775.cc: Likewise. + * testsuite/27_io/fpos/mbstate_t/1.cc: Likewise. + * testsuite/27_io/fpos/mbstate_t/12065.cc: Likewise. + * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise. + * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise. + * testsuite/27_io/ios_base/callbacks/1.cc: Likewise. + * testsuite/27_io/ios_base/failure/what-1.cc: Likewise. + * testsuite/27_io/ios_base/failure/what-2.cc: Likewise. + * testsuite/27_io/ios_base/failure/what-3.cc: Likewise. + * testsuite/27_io/ios_base/failure/what-big.cc: Likewise. + * testsuite/27_io/ios_base/state/1.cc: Likewise. + * testsuite/27_io/ios_base/storage/1.cc: Likewise. + * testsuite/27_io/ios_base/storage/11584.cc: Likewise. + * testsuite/27_io/ios_base/storage/2.cc: Likewise. + * testsuite/27_io/ios_base/sync_with_stdio/2.cc: Likewise. + * testsuite/27_io/manipulators/adjustfield/char/1.cc: Likewise. + * testsuite/27_io/manipulators/adjustfield/char/2.cc + * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: Likewise. + * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise. + * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise. + * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise. + * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise. + * testsuite/27_io/manipulators/extended/get_money/char/51288.cc: + Likewise. + * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc: + Likewise. + * testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc: + Likewise. + * testsuite/27_io/manipulators/extended/get_time/char/1.cc + * testsuite/27_io/manipulators/extended/get_time/char/2.cc: Likewise. + * testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc: Likewise. + * testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc: Likewise. + * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise. + * testsuite/27_io/manipulators/extended/put_money/char/51288.cc: + Likewise. + * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc: + Likewise. + * testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc: + Likewise. + * testsuite/27_io/manipulators/extended/put_time/char/1.cc: Likewise. + * testsuite/27_io/manipulators/extended/put_time/char/2.cc: Likewise. + * testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc: Likewise. + * testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc: Likewise. + * testsuite/27_io/manipulators/standard/char/1.cc: Likewise. + * testsuite/27_io/manipulators/standard/char/2.cc: Likewise. + * testsuite/27_io/manipulators/standard/char/dr2344.cc: Likewise. + * testsuite/27_io/manipulators/standard/char/quoted.cc: Likewise. + * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise. + * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise. + * testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: Likewise. + * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: Likewise. + * testsuite/27_io/objects/char/1.cc: Likewise. + * testsuite/27_io/objects/char/10.cc: Likewise. + * testsuite/27_io/objects/char/3045.cc: Likewise. + * testsuite/27_io/objects/char/41037.cc: Likewise. + * testsuite/27_io/objects/char/5.cc: Likewise. + * testsuite/27_io/objects/char/6.cc: Likewise. + * testsuite/27_io/objects/char/6548_xin.cc: Likewise. + * testsuite/27_io/objects/char/6648-1_xin.cc: Likewise. + * testsuite/27_io/objects/char/6648-2_xin.cc: Likewise. + * testsuite/27_io/objects/char/7744_xin.cc: Likewise. + * testsuite/27_io/objects/char/8.cc: Likewise. + * testsuite/27_io/objects/char/9.cc: Likewise. + * testsuite/27_io/objects/char/9661-2_xin.cc: Likewise. + * testsuite/27_io/objects/char/dr455.cc: Likewise. + * testsuite/27_io/objects/wchar_t/1.cc: Likewise. + * testsuite/27_io/objects/wchar_t/10.cc: Likewise. + * testsuite/27_io/objects/wchar_t/11.cc: Likewise. + * testsuite/27_io/objects/wchar_t/12.cc: Likewise. + * testsuite/27_io/objects/wchar_t/13.cc: Likewise. + * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Likewise. + * testsuite/27_io/objects/wchar_t/3045.cc: Likewise. + * testsuite/27_io/objects/wchar_t/41037.cc: Likewise. + * testsuite/27_io/objects/wchar_t/5.cc: Likewise. + * testsuite/27_io/objects/wchar_t/6548_xin.cc: Likewise. + * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: Likewise. + * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: Likewise. + * testsuite/27_io/objects/wchar_t/7744_xin.cc: Likewise. + * testsuite/27_io/objects/wchar_t/8.cc: Likewise. + * testsuite/27_io/objects/wchar_t/9520.cc: Likewise. + * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: Likewise. + * testsuite/27_io/objects/wchar_t/9662.cc: Likewise. + * testsuite/27_io/objects/wchar_t/dr455.cc: Likewise. + * testsuite/27_io/types/3.cc: Likewise. + 2016-10-17 Jonathan Wakely PR libstdc++/77994 diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc index 54852e9ed9b..b9b0cb95bd4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc index 34bc728f272..575313f6e7b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc @@ -33,7 +33,6 @@ const char name_02[] = "filebuf_members-1.txt"; // Test member functions. void test_01() { - bool test __attribute__((unused)) = true; const char* name_03 = "filebuf_members-3"; // empty file, need to create std::filebuf fb_01; // in diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc index 5ea9cf421d7..89a674053a4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc index 334159d9a07..0234193ca23 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc index bbe8b5d56b8..bcdaefa96be 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc index 95287c3176a..0318816d236 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc index c65f5c6c59b..eb6dd9bd96f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc @@ -43,7 +43,6 @@ const char name_02[] = "filebuf_virtuals-2.txt"; // empty file, need to create void test_02() { - bool test __attribute__((unused)) = true; int close_num = 0; // read (ext) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc index 2ea8e52554a..fd094d5ab01 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/3.cc @@ -64,7 +64,6 @@ void test05() typedef std::filebuf::off_type off_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; std::filebuf f_tmp; fb_01.open(name_01, std::ios_base::in); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc index ab9c15168f3..b8af5962eeb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc @@ -35,8 +35,6 @@ void test_04() { typedef std::filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - std::filebuf fb_01, fb_02; char buffer[] = "xxxxxxxxxx"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/5.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/5.cc index 24e208a86d0..ff5e13d204f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/5.cc @@ -57,8 +57,6 @@ public: void test_05() { - bool test __attribute__((unused)) = true; - Close_filebuf fb_01, fb_02; char buffer[] = "xxxxxxxxxx"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc index c3ce8bb27e8..efc9a8c0246 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc index cf98c34976a..25d40867038 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc index ef9b975c337..0f94190d75a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc index e88e18a1393..8c79d9b4657 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_close_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/2020.cc index d9823a89f21..985b38113c4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/2020.cc @@ -28,7 +28,7 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; + bool test = true; typedef std::basic_filebuf<__gnu_test::pod_ushort> gnu_filebuf; try diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/1.cc index efd5aeb1c8e..0629888a637 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/char/1.cc @@ -26,8 +26,6 @@ // http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html void test01() { - bool test __attribute__((unused)) = true; - __gnu_test::constraint_filebuf fbuf; VERIFY( fbuf.check_pointers() ); } diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc index 2b46c100aec..5840001b099 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc @@ -26,8 +26,6 @@ // http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html void test01() { - bool test __attribute__((unused)) = true; - __gnu_test::constraint_wfilebuf fbuf; VERIFY( fbuf.check_pointers() ); } diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc index 34a7d4d47eb..df1822acd90 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc @@ -32,8 +32,6 @@ protected: int main() { - bool test __attribute__((unused)) = true; - std::locale loc = std::locale(std::locale::classic(), new Cvt); std::wfilebuf* fb = new std::wfilebuf; fb->pubimbue(loc); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/12206.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/12206.cc index ea25b3169e9..2d2b2de740a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/12206.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/12206.cc @@ -95,8 +95,7 @@ namespace std void test01() { using namespace std; - bool test __attribute__((unused)) = true; - + locale loc(locale::classic(), new codecvt); locale::global(loc); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13007.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13007.cc index b420df1c648..3c8a3872367 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13007.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13007.cc @@ -43,8 +43,6 @@ protected: // libstdc++/13007 void test01() { - bool test __attribute__((unused)) = true; - Buf buf; std::locale loc(std::locale(ISO_8859(15,fr_FR))); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc index 7d6aaf84186..6135b01c9d8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc @@ -26,7 +26,6 @@ // libstdc++/13171 void test01() { - bool test __attribute__((unused)) = true; using namespace std; filebuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc index 39c4f7e49a7..3ffed53cbe0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc @@ -37,7 +37,6 @@ protected: // libstdc++/13171 void test01() { - bool test __attribute__((unused)) = true; using namespace std; filebuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc index 302d1aff92b..40fcbbd6d55 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc @@ -37,7 +37,6 @@ // libstdc++/13582 void test01() { - bool test __attribute__((unused)) = true; using namespace std; using namespace __gnu_test; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc index 584d16d69b9..d6ba911fd85 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc @@ -40,7 +40,6 @@ protected: void test01() { using namespace std; - bool test __attribute__((unused)) = true; Buf fb; locale loc_us = locale(ISO_8859(1,en_US)); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/2.cc index 9975193f65f..cf7b9255f43 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/2.cc @@ -28,7 +28,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it locale loc; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc index 77068678b1b..e431473a12e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc @@ -34,7 +34,6 @@ protected: void test03() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_s(locale::classic(), new state_codecvt); filebuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/9322.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/9322.cc index 269ba3d7f19..8328bca8f22 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/9322.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/9322.cc @@ -30,7 +30,6 @@ void test07() { using std::locale; - bool test __attribute__((unused)) = true; locale loc; std::filebuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc index cfed79a80b8..3b87ef9cb97 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc @@ -29,7 +29,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_is(locale("is_IS.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc index 3d32b83a080..545b1f88021 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc @@ -43,8 +43,6 @@ protected: // libstdc++/13007 void test01() { - bool test __attribute__((unused)) = true; - Buf buf; std::locale loc(std::locale(ISO_8859(15,fr_FR))); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc index c6843c469b6..ab7a6f45346 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc @@ -28,7 +28,6 @@ // libstdc++/13171 void test01() { - bool test __attribute__((unused)) = true; using namespace std; locale::global(locale(ISO_8859(15,fr_FR))); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc index d1ffb2a3456..1e4dc433a7c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc @@ -37,7 +37,6 @@ // libstdc++/13582 void test01() { - bool test __attribute__((unused)) = true; using namespace std; using namespace __gnu_test; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc index 89e46020030..b1b5f77e517 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc @@ -29,7 +29,6 @@ // libstdc++/13582 void test01() { - bool test __attribute__((unused)) = true; using namespace std; locale loc_en(locale(ISO_8859(1,en_US))); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc index 8c38a3b4eec..97e78171d9b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc @@ -28,7 +28,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it locale loc; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc index d03726de2b1..71368b62692 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc @@ -34,7 +34,6 @@ protected: void test03() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_s(locale::classic(), new state_codecvt); wfilebuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc index ba8048efe66..795fb4f8da3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc @@ -30,7 +30,6 @@ void test07() { using std::locale; - bool test __attribute__((unused)) = true; locale loc; std::wfilebuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc index 211b219c43a..5872c9f7ab1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc @@ -66,7 +66,6 @@ void test05() typedef std::filebuf::off_type off_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; std::filebuf f_tmp; std::streamoff strmof_1, strmof_2; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc index f90930f36ee..f7fb685565b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc @@ -36,7 +36,6 @@ public: void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_file1"; Derived_fbuf df2; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc index 52f7c9aefba..899cc49e547 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc @@ -33,7 +33,6 @@ const char name_02[] = "filebuf_members-1.txt"; // Test member functions. void test_01() { - bool test __attribute__((unused)) = true; const char* name_03 = "filebuf_members-3"; // empty file, need to create std::filebuf fb_01; // in diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc index ea6b34320ba..5b2b9250e29 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_open_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc index 0b9eea8b8ea..8d621fc261a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc @@ -33,7 +33,6 @@ const char name_02[] = "filebuf_members-1.txt"; // Test member functions. void test_01() { - bool test __attribute__((unused)) = true; const char* name_03 = "filebuf_members-3"; // empty file, need to create std::filebuf fb_01; // in diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc index d663e616c67..7f104d32fa7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc @@ -37,7 +37,6 @@ const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it void test_03() { - bool test __attribute__((unused)) = true; int first_fd = ::open(name_01, O_RDONLY); VERIFY( first_fd != -1 ); FILE* first_file = ::fdopen(first_fd, "r"); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc index 37c2b0fa6ac..4e88b897eae 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc @@ -30,7 +30,6 @@ // Charles Leggett void test_05() { - bool test __attribute__((unused)) = true; const char* name = "tmp_file5"; std::fstream scratch_file; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/4.cc index 852c629cd68..1cda2e5a3fa 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/4.cc @@ -25,7 +25,6 @@ // DR 596. void test01() { - bool test __attribute__((unused)) = true; const char* name = "tmp_file4"; std::fstream scratch_file; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/9507.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/9507.cc index cbf322809b2..7686bec7ab6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/9507.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/9507.cc @@ -36,7 +36,6 @@ void test_06() { using namespace __gnu_test; - bool test __attribute__((unused)) = true; const char* name = "tmp_fifo2"; signal(SIGPIPE, SIG_IGN); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/1.cc index 515874c8327..84052f6c5cc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/1.cc @@ -49,7 +49,6 @@ template void test03() { - bool test __attribute__((unused)) = true; const std::string control01("11111"); std::string test01; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc index ceac9204f7c..1c461c88a46 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc @@ -37,7 +37,6 @@ public: void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef OverBuf::traits_type traits_type; OverBuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc index a0b556227b8..a9413219914 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc @@ -37,7 +37,6 @@ public: void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef OverBuf::traits_type traits_type; OverBuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/3599.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/3599.cc index 0f849a426ab..70da6b19e59 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/3599.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/3599.cc @@ -39,7 +39,6 @@ protected: void test07() { - bool test __attribute__((unused)) = true; testbuf ob; std::ostream out(&ob); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc index a0a8e8c3b68..1455fceb209 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc @@ -40,7 +40,6 @@ class Cvt_to_upper : public std::codecvt void test10() { using namespace std; - bool test __attribute__((unused)) = true; locale c_loc = locale::classic(); locale loc(c_loc, new Cvt_to_upper); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc index 3deb81b5e0d..1e137b72329 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc @@ -52,7 +52,6 @@ protected: void test14() { using namespace std; - bool test __attribute__((unused)) = true; locale loc = locale::classic(); loc = locale(loc, new errorcvt); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc index b8149e2096f..41015f663a4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc @@ -38,7 +38,6 @@ public: void test15() { using namespace std; - bool test __attribute__((unused)) = true; OverBuf fb; fb.open(name_08, ios_base::out | ios_base::trunc); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc index 1056e335552..866f4f7b963 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wfilebuf fb; locale loc(locale("en_US.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc index 816e60361f7..8986f4a2cf7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc @@ -26,7 +26,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; wfilebuf fb; locale loc(locale("en_US.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc index fa0cbf759ab..6c529eae7b6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc @@ -26,7 +26,6 @@ void test03() { using namespace std; - bool test __attribute__((unused)) = true; wfilebuf fb; locale loc(locale("en_US.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc index 11953ac1522..6f2e7ce04cb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc @@ -26,7 +26,6 @@ void test04() { using namespace std; - bool test __attribute__((unused)) = true; wfilebuf fb; locale loc(locale("en_US.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc index 01300a4f044..3a1cb04d4dc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc @@ -30,7 +30,6 @@ const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it void test01() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbuf; filebuf::int_type r1, r2; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc index 215b3013b9a..504e7e21465 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc @@ -37,8 +37,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - // int_type sbumpc() // if read_cur not avail returns uflow(), else return *read_cur & increment diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc index f942a5b1471..f17a22a185b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc @@ -38,8 +38,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - // int_type sbumpc() // if read_cur not avail returns uflow(), else return *read_cur & increment diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc index b7cf510feae..0f5d8176038 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc @@ -35,8 +35,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - // int_type sbumpc() // if read_cur not avail returns uflow(), else return *read_cur & increment diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc index dfbf70bcd2c..f295c20fbb4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc @@ -37,8 +37,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - // int_type sbumpc() // if read_cur not avail returns uflow(), else return *read_cur & increment diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc index 039fbdd465f..13f51da90dc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc @@ -38,8 +38,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - // int_type sbumpc() // if read_cur not avail returns uflow(), else return *read_cur & increment diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc index ab6f1d193b3..a5cfa6a996c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc @@ -35,8 +35,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - // int_type sbumpc() // if read_cur not avail returns uflow(), else return *read_cur & increment diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc index beb82fdf7fb..4fa2d1c4b6c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc @@ -31,7 +31,6 @@ const char name_06[] = "filebuf_virtuals-6.txt"; // empty file, need to create void test12() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbuf; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/10132-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/10132-2.cc index 8e70e8583c8..b765035abac 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/10132-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/10132-2.cc @@ -27,7 +27,6 @@ // libstdc++/10132, add on void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_filebuf<__gnu_test::pod_ushort> gnu_filebuf; try @@ -37,9 +36,8 @@ void test07() obj.pubseekoff(2, std::ios_base::beg); } catch(std::exception& obj) - { - test = false; - VERIFY( test ); + { + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc index 9d5dee28c46..7d347b759aa 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc index 7b4ea0927d6..e9192e17d45 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc index 1b411abe93a..90ad94328b2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc index 970bac213b9..8e20ddf2525 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/45628-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/45628-2.cc index 6dd2eeb7224..44b13df5267 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/45628-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/45628-2.cc @@ -45,8 +45,6 @@ class my_filebuf // libstdc++/45628 void test01() { - bool test __attribute__((unused)) = true; - using __gnu_test::pod_uchar; std::locale loc(std::locale::classic(), new std::codecvt); std::basic_filebuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12232.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12232.cc index b4b0afacc19..9e2cf037381 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12232.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12232.cc @@ -26,7 +26,6 @@ const char name[] = "tmp_12232"; void test01() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbout; fbout.open(name, ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc index fa2d41a9bb1..e490e2b7193 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc index 64e6ccaf7e2..05376b5347d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc index e2f435db77d..c168c2d3cf1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc @@ -57,7 +57,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc index 1b6256be17a..cb021c05301 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc index ef9985d95fe..b2b26f92827 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc @@ -40,7 +40,6 @@ void test05() typedef filebuf::off_type off_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1; int_type c1; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc index bc8cb57556a..b0b41509012 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc @@ -40,7 +40,6 @@ void test05() typedef filebuf::pos_type pos_type; typedef filebuf::off_type off_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1; int_type c1; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc index 00939035a17..d58ec91b924 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc @@ -40,7 +40,6 @@ void test05() typedef filebuf::off_type off_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1; int_type c1; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc index 0e7fab21ef0..4732aa1500e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc @@ -26,7 +26,6 @@ void test02(std::filebuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc index f16e27abfb4..11ba91e0531 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc @@ -26,7 +26,6 @@ void test02(std::filebuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc index abb1dee7289..023e2665462 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc @@ -26,7 +26,6 @@ void test02(std::filebuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/4.cc index 5fe6f9501c0..f740592ae45 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/4.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef filebuf::pos_type pos_type; const char name[] = "tmp_seekoff-4.tst"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc index 2bb14be5dcf..b67c0e0ec25 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc @@ -44,8 +44,6 @@ class my_filebuf // libstdc++/45628 void test01() { - bool test __attribute__((unused)) = true; - my_filebuf q; q.open(name_01, std::ios_base::in | std::ios_base::out | std::ios_base::trunc); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc index 7f53a1c2384..3ed42c86f4c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc @@ -33,7 +33,6 @@ void test01() typedef wfilebuf::pos_type pos_type; typedef wfilebuf::int_type int_type; - bool test __attribute__((unused)) = true; const char name[] = "tmp_seekoff-1.tst"; const int_type eof = wfilebuf::traits_type::eof(); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc index 4941c8f2093..0dec62dd394 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc @@ -120,8 +120,6 @@ namespace std void test01() { - bool test __attribute__((unused)) = true; - std::locale loc(std::locale::classic(), new std::codecvt); std::basic_filebuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc index afec7c1586b..00bfd23b3e5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc index 5757a6a6893..ba11940584d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc index ddc7c7717f3..92b18afa3dd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc @@ -55,7 +55,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc index 6abdb630893..cc200c55b2c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc index fb605392389..c2c49260711 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc @@ -32,7 +32,6 @@ void test02() { using namespace std; typedef wfilebuf::int_type int_type; - bool test __attribute__((unused)) = true; const char name[] = "tmp_seekoff-2.tst"; locale loc = locale("se_NO.UTF-8"); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc index ca6ca4e075c..502cc4ce288 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc @@ -23,7 +23,6 @@ void test03() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekoff_3"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc index c69e02d3d46..2f5adf464d7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef wfilebuf::pos_type pos_type; const char name[] = "tmp_seekoff-4.tst"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc index ea3481ed2d8..882372fc0f3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc @@ -78,7 +78,6 @@ protected: void test01() { using namespace std; - bool test __attribute__((unused)) = true; // seekoff wfilebuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/10132-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/10132-3.cc index 239e68ef0a4..f5f0782ea58 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/10132-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/10132-3.cc @@ -27,7 +27,6 @@ // libstdc++/10132, add on void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_filebuf<__gnu_test::pod_ushort> gnu_filebuf; try @@ -38,8 +37,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc index 646fd1fd452..e89572efcd5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc index 20e87cfabc3..d462a120fe7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc index c1bd01b3779..01a6827d65a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc @@ -31,7 +31,6 @@ void test01() using __gnu_test::pod_uchar; typedef basic_filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; locale loc(locale::classic(), diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc index 3fcbf87f9ee..32f68bdf796 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc @@ -40,8 +40,6 @@ void test05() typedef filebuf::off_type off_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - int_type c1; int_type c2; int_type c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc index 9afb0c34f2f..b9d4c57fc53 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc @@ -39,8 +39,6 @@ void test05() typedef filebuf::pos_type pos_type; typedef filebuf::off_type off_type; - bool test __attribute__((unused)) = true; - int_type c1; int_type c2; int_type c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc index 4169b33974d..943f84e38b8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc @@ -40,8 +40,6 @@ void test05() typedef filebuf::off_type off_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - int_type c1; int_type c2; int_type c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc index 06ff4d23201..bba6f03cf60 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc index 1d7b83358b0..836233d3161 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc index 2ecda343bc7..1c20a51db4f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc @@ -55,7 +55,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc index 8ff3b54bf9e..574bd372dec 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc @@ -56,7 +56,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc index 87a15e99016..4b4758c5698 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc @@ -40,8 +40,6 @@ void test05() typedef filebuf::off_type off_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - int_type c1; int_type c2; int_type c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc index 1f14b985e01..1504efd55bc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc @@ -39,8 +39,6 @@ void test05() typedef filebuf::pos_type pos_type; typedef filebuf::off_type off_type; - bool test __attribute__((unused)) = true; - int_type c1; int_type c2; int_type c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc index c27d0c905f0..7e96b1f8c34 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc @@ -40,8 +40,6 @@ void test05() typedef filebuf::off_type off_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - int_type c1; int_type c2; int_type c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc index bd25b615210..ca9972d9afc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc @@ -26,7 +26,6 @@ void test02(std::filebuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc index 474983d4983..e58717558b0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc @@ -26,7 +26,6 @@ void test02(std::filebuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc index a88bf3eb8a8..4e789f68e41 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc @@ -26,7 +26,6 @@ void test02(std::filebuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc index 39f72f6b299..13bb2d1c904 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc @@ -24,7 +24,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_1"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc index 873c77c3ae8..c5a7a6188ef 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc index 30431be6085..f101a1fb0d3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc index b3e20c87c18..1f8f1429729 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc @@ -55,7 +55,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc index bcc40788eda..beddf9cac37 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc @@ -54,7 +54,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_seekpos_12790"; Cvt* cvt = new Cvt; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc index 87ad93df3b9..42c2c05d8dd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc @@ -35,7 +35,6 @@ void test01() typedef wfilebuf::int_type int_type; typedef vector > vec_type; - bool test __attribute__((unused)) = true; const char name[] = "tmp_seekpos-9874.tst"; const int_type eof = wfilebuf::traits_type::eof(); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc index c00eba0728a..1d18fdb717d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc @@ -78,7 +78,6 @@ protected: void test01() { using namespace std; - bool test __attribute__((unused)) = true; // seekpos wfilebuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc index c200196503d..89bb0f26ff9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc @@ -39,7 +39,7 @@ public: bool check_pointers() { - bool test __attribute__((unused)) = true; + bool test = true; test = (!this->pbase()); test &= (!this->pptr()); return test; @@ -58,8 +58,6 @@ void test05() typedef std::filebuf::off_type off_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; - { testbuf f_tmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc index 8eac38b91be..9b2b8b53016 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc @@ -28,7 +28,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_setbuf4"; static char buf[1024]; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc index 0a0d65df143..2ef84314bda 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc @@ -28,7 +28,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_setbuf5"; static char buf[1024]; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc index 5089d5b4772..f34f556516c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc @@ -29,7 +29,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; char buf[512]; const char* strlit = "how to tell a story and other essays: mark twain"; const size_t strlitsize = std::strlen(strlit); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc index 64a0ca73c8b..d5180f9c4c9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc @@ -29,7 +29,6 @@ void test03() { using namespace std; - bool test __attribute__((unused)) = true; char buf[512]; const char* strlit = "how to tell a story and other essays: mark twain"; const size_t strlitsize = std::strlen(strlit); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc index ee374a54793..9c7e486731f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc @@ -38,7 +38,6 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sgetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc index b9b80bc8309..45d857da6fe 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc @@ -39,7 +39,6 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sgetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc index f6b63e19f61..b9881e7e454 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc @@ -38,7 +38,6 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sgetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc index e3b0cfbee4f..f9937395f08 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc @@ -38,7 +38,6 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sgetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc index 7092ddfdd9a..5eaf353e940 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc @@ -39,7 +39,6 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sgetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc index baec05816db..8256b253bbf 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc @@ -36,7 +36,6 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sgetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc index a209360fee5..98beb9dfd31 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc @@ -43,8 +43,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - streamsize strmsz_1, strmsz_2; char carray1[13] = ""; char carray2[8192] = ""; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc index 0a24369b725..89e2bc7d044 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc @@ -44,8 +44,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - streamsize strmsz_1, strmsz_2; char carray1[13] = ""; char carray2[8192] = ""; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc index 8e8f17d3c3e..66f0ece6b66 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc @@ -36,8 +36,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - streamsize strmsz_1, strmsz_2; char carray2[8192] = ""; int_type c2, c4; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc index 49ed2c750fe..044bdb727b9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc @@ -43,8 +43,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - streamsize strmsz_1, strmsz_2; char carray1[13] = ""; char carray2[8192] = ""; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc index 5b8839b667e..a928b7c2080 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc @@ -44,8 +44,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - streamsize strmsz_1, strmsz_2; char carray1[13] = ""; char carray2[8192] = ""; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc index 9ec1cf4be3d..c482731d445 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc @@ -36,8 +36,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; - streamsize strmsz_1, strmsz_2; char carray2[8192] = ""; int_type c2; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc index fc5117d9377..16d7b0ca05f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc @@ -30,7 +30,6 @@ void test06() { using namespace std; - bool test __attribute__((unused)) = true; char buffer[] = "xxxxxxxxxx"; typedef filebuf::int_type int_type; filebuf fbuf01; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc index 5c40cad1351..fcfcd027d56 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc @@ -34,7 +34,6 @@ void test_01() { using namespace std; using namespace __gnu_test; - bool test __attribute__((unused)) = true; const char* name = "tmp_fifo1"; const int count = 10000; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc index 6b61da190df..646f4bb4724 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc @@ -24,7 +24,6 @@ void test_02() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_file1"; const char* strlit = "0123456789"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc index 2e6add239d0..356dc73e3ed 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc @@ -39,7 +39,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1; // int_type snextc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc index 0e08b26a086..8efb68f521a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc @@ -39,7 +39,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c3; // int_type snextc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc index 8e7ed51af11..a173cd3ab9b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc @@ -37,7 +37,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c2; // int_type snextc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc index 9e975bdcba7..91890f4ca4f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc @@ -37,7 +37,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1; // int_type snextc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc index c2edfe052c9..1804104b006 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc @@ -38,7 +38,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c3; // int_type snextc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-out.cc index a6d647d0c3e..756d4ecf715 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-out.cc @@ -35,7 +35,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c2; // int_type snextc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc index 63e93c78e8e..a97bc7803b5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc @@ -38,7 +38,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sputbackc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc index 6fd414f006f..62f84bca718 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc @@ -39,7 +39,6 @@ void test01() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1, strmsz_2; int_type c1, c2, c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc index 93e5969b705..45ead84fcd4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc @@ -38,7 +38,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sputbackc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc index d456624058c..a31778a75c6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc @@ -38,7 +38,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sputbackc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc index 5cfbd7c0f18..a5a6087a469 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc @@ -39,7 +39,6 @@ void test01() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1, strmsz_2; int_type c1, c2, c3; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc index 154389c1181..888f2b9e565 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc @@ -38,7 +38,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sputbackc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc index b89fce2f80b..97b3dd26458 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc @@ -32,7 +32,6 @@ const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it void test09() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbuf; fbuf.open(name_01, ios_base::in); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-in.cc index 6526a29de29..0db6a29f759 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-in.cc @@ -36,7 +36,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c3; // int_type sputc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc index 23e9d220505..604e6546681 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc @@ -39,7 +39,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sputc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc index 0f764b30510..dbacc85ef1f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc @@ -38,7 +38,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sputc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-in.cc index bcc9c2a6cf6..0e2e09b5333 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-in.cc @@ -36,7 +36,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c3; // int_type sputc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc index 5799c6ac1b6..b9e938ddef4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc @@ -39,7 +39,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sputc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc index fa990078e95..def88ced5f0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc @@ -38,7 +38,6 @@ void test05() typedef filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sputc(char_type c) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/59427.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/59427.cc index f194fb62dee..5652dc1817e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/59427.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/59427.cc @@ -23,7 +23,6 @@ // libstdc++/59427 void test01() { - bool test __attribute__((unused)) = true; using namespace std; filebuf a_f; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc index 2c7e3d0504e..595b0ec4007 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc @@ -45,8 +45,6 @@ public: // libstdc++/9701 (partial) void test11() { - bool test __attribute__((unused)) = true; - bool over_expected; // sputc diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc index 33ec6cf3d43..fddb68084c7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc @@ -37,7 +37,6 @@ void test05() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1; // streamsize sputn(const char_typs* s, streamsize n) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc index aacdf5fecd6..d1e305dca60 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc @@ -40,7 +40,6 @@ void test05() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1, strmsz_2; // streamsize sputn(const char_typs* s, streamsize n) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc index d82e633f93e..dd9488e4b8b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc @@ -39,7 +39,6 @@ void test05() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1; // streamsize sputn(const char_typs* s, streamsize n) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-in.cc index c46a2d308da..4aec8143b0f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-in.cc @@ -37,7 +37,6 @@ void test05() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1; // streamsize sputn(const char_typs* s, streamsize n) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc index 72599a858f1..a4ab4cbe872 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc @@ -40,7 +40,6 @@ void test05() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1, strmsz_2; // streamsize sputn(const char_typs* s, streamsize n) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc index 368a0c6682a..217b8e3d4e1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc @@ -39,7 +39,6 @@ void test05() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1; // streamsize sputn(const char_typs* s, streamsize n) diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/59427.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/59427.cc index ef3d9ab7298..54685f01ec6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/59427.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/59427.cc @@ -23,7 +23,6 @@ // libstdc++/59427 void test01() { - bool test __attribute__((unused)) = true; using namespace std; filebuf a_f; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc index 3c3421e46b9..59dc2bc5fa5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc @@ -24,7 +24,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbuf01; int len = 35; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc index 6b5fc40a256..5888a2b1791 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc @@ -49,8 +49,6 @@ public: // libstdc++/9701 (partial) void test11() { - bool test __attribute__((unused)) = true; - bool over_expected; // sputn diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc index f6380fe892d..c8429aadde7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc @@ -38,7 +38,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sungetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc index 149e426a163..8c3b326783c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc @@ -39,7 +39,6 @@ void test01() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1, strmsz_2; int_type c1, c2; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc index 94dcfbe2cde..6ff702e318b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc @@ -36,7 +36,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sungetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc index 9dfc6e0d125..0af8d246657 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc @@ -38,7 +38,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sungetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc index f99fe7d9269..2df1d8e75ec 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc @@ -39,7 +39,6 @@ void test01() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; streamsize strmsz_1, strmsz_2; int_type c1, c2; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc index 8525760c610..41819def5a1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc @@ -36,7 +36,6 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test __attribute__((unused)) = true; int_type c1, c2; // int_type sungetc() diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/1057.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/1057.cc index 29c79ff9e1a..c491070099e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/1057.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/1057.cc @@ -71,7 +71,6 @@ public: // libstdc++/1057 void test04() { - bool test __attribute__((unused)) = true; std::string text = "abcdefghijklmn"; // 01 diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc index c8637f8179f..de60cff846a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc @@ -52,7 +52,6 @@ protected: void test13() { using namespace std; - bool test __attribute__((unused)) = true; locale loc = locale::classic(); loc = locale(loc, new errorcvt); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/1.cc index 5e8d555bd8e..18894f75fa7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/1.cc @@ -46,7 +46,6 @@ protected: void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "filebuf_virtuals-1.txt"; string str; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc index 15e7b04a142..9c21b4ac26f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc @@ -26,7 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; using namespace std; filebuf fb_out, fb_in_out; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/3.cc index b6bae163dff..c476fd84990 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/3.cc @@ -56,7 +56,6 @@ protected: // See Novell Bug 255122 void test01() { - bool test __attribute__((unused)) = true; using namespace std; const char* name = "tmp_underflow_3.tst"; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/45841.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/45841.cc index 951cc951dec..5b3837f8626 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/45841.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/45841.cc @@ -22,7 +22,6 @@ void test01() { - bool test __attribute__((unused)) = true; using namespace std; filebuf fb_in_out; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/9027.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/9027.cc index 65b2c133a5f..06ed5bd27b7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/9027.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/9027.cc @@ -61,7 +61,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "filebuf_virtuals-1.txt"; locale loc (locale::classic(), new Cvt_to_upper); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc index e99bc52225f..717d1dad551 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc @@ -30,7 +30,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char name[] = "tmp_underflow-1.tst"; const char cstr[] = diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc index 4eaf49868d8..c580e8d279f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc @@ -27,7 +27,6 @@ const char name_01[] = "tmp_11389-1"; void test01() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbout; fbout.open(name_01, ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc index 522789b30d2..13bc42fe1a0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc @@ -27,7 +27,6 @@ const char name_02[] = "tmp_11389-2"; void test02() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbout; fbout.open(name_02, ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc index a7182bdfdd7..8df4d609558 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc @@ -27,7 +27,6 @@ const char name_03[] = "tmp_11389-3"; void test03() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbout; fbout.open(name_03, ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc index de2b0bb7639..92913c7f5d9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc @@ -27,7 +27,6 @@ const char name_04[] = "tmp_11389-4"; void test04() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbout; fbout.open(name_04, ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc index 8a568b48b1e..729d34a3e4f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc @@ -154,7 +154,6 @@ protected: void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new checksumcvt); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc index 1e418df8ab9..32e15e75ee6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc @@ -154,7 +154,6 @@ protected: void test02() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new checksumcvt); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc index 8c70679bd0d..a0046a96c46 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc @@ -166,7 +166,6 @@ public: void test01() { using namespace std; - bool test __attribute__((unused)) = true; filebuf fbout; fbout.open("tmp_11603", ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc index 0418f2423bd..bba83846a4f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc @@ -30,7 +30,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; const char name[] = "tmp_underflow-2.tst"; const char cstr[] = diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc index 209641dc45f..0dfeb59d646 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc @@ -30,7 +30,6 @@ void test03() { using namespace std; - bool test __attribute__((unused)) = true; const char name[] = "tmp_underflow-3.tst"; const char cstr[] = diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc index 1d3a6ed0a36..4579b7dbdff 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc @@ -28,7 +28,6 @@ void test01() { - bool test __attribute__((unused)) = true; using namespace std; locale loc (locale("se_NO.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc index 3ea22ca75bd..36e3345c61f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc @@ -22,7 +22,6 @@ void test01() { - bool test __attribute__((unused)) = true; using namespace std; wfilebuf fb_in_out; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc index 45ad3da5e7d..63050f83521 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc @@ -30,7 +30,6 @@ void test05() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_underflow-5"; wfilebuf fb; diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc index b11fc3d2f92..e7b3d92ee67 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc @@ -161,7 +161,6 @@ protected: void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc; loc = locale(loc, new checksumcvt); diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc index f08db54cc10..6b7f9e56f24 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc @@ -28,7 +28,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_9520"; FILE* file = fopen(name, "w"); diff --git a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/1.cc b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/1.cc index 4979ebfdbd3..90699a10091 100644 --- a/libstdc++-v3/testsuite/27_io/basic_fstream/cons/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_fstream/cons/1.cc @@ -28,7 +28,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_fstream<__gnu_test::pod_ushort> gnu_fstr; try @@ -37,8 +36,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_fstream/rdbuf/char/2832.cc b/libstdc++-v3/testsuite/27_io/basic_fstream/rdbuf/char/2832.cc index 92343556928..f73b9df2d38 100644 --- a/libstdc++-v3/testsuite/27_io/basic_fstream/rdbuf/char/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_fstream/rdbuf/char/2832.cc @@ -33,7 +33,6 @@ active_buffer(std::ios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; const char* strlit01 = "fuck war"; const std::string str00; const std::string str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/2020.cc index 2884fe4527d..b0109cc39ee 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/2020.cc @@ -28,7 +28,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_ifstream<__gnu_test::pod_ushort> gnu_ifstr; try @@ -37,8 +36,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc index 4682bff2273..70e48e54d58 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc @@ -30,7 +30,6 @@ const char name_01[] = "ifstream_members-1.tst"; // http://gcc.gnu.org/ml/libstdc++/2000-07/msg00004.html void test02() { - bool test __attribute__((unused)) = true; const int more_than_max_open_files = 8200; for (int i = 0; ++i < more_than_max_open_files;) diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc index 55513c80720..55d8a3d7e31 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc @@ -30,7 +30,6 @@ const char name_01[] = "ifstream_members-1.tst"; // http://gcc.gnu.org/ml/libstdc++/2000-06/msg00136.html void test01() { - bool test __attribute__((unused)) = true; std::ifstream ifs1; ifs1.close(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc index 8c41c5c79a5..0550ca27486 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc @@ -37,7 +37,6 @@ active_buffer(std::ios& stream) // libstdc++/2832 void test03() { - bool test __attribute__((unused)) = true; const char* strlit01 = "fuck war"; const std::string str00; const std::string str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/clear/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ios/clear/char/1.cc index f054635582e..df86f284305 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/clear/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/clear/char/1.cc @@ -27,8 +27,6 @@ // 27.4.4.3 basic_ios iostate flags function void test01() { - bool test __attribute__((unused)) = true; - typedef std::ios_base::fmtflags fmtflags; typedef std::ios_base::iostate iostate; using std::ios_base; diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_ios/cons/2020.cc index b76202a55d0..73085c1c47d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/cons/2020.cc @@ -31,14 +31,11 @@ class gnu_ios: public std::basic_ios<__gnu_test::pod_ushort> void test07() { - bool test __attribute__((unused)) = true; - try { gnu_ios obj; } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc index a5778ba7e93..f32375b3e57 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/1.cc @@ -26,7 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::string str_01("jade cove, big sur"); std::string str_05; std::stringbuf strb_01; diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/2.cc index f93ac5d0ab5..37f4b7c9ad6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/2.cc @@ -30,7 +30,7 @@ class gnu_ios: public std::basic_ios { }; void test01() { - bool test __attribute__((unused)) = true; + bool test = true; // 01: Doesn't call basic_ios::init, which uses ctype.. // This should be unambiguously correct. diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc index 8973841ff48..eadf90590c9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/cons/char/3.cc @@ -118,7 +118,7 @@ namespace std void test02() { - bool test __attribute__((unused)) = true; + bool test = true; // 02: Calls basic_ios::init, which may call ctype... try diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/1.cc index df4cf43598a..8df6ba472cc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/1.cc @@ -29,8 +29,6 @@ // 27.4.4.3 basic_ios iostate flags function void test02() { - bool test __attribute__((unused)) = true; - typedef std::ios_base::fmtflags fmtflags; typedef std::ios_base::iostate iostate; using std::ios_base; diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/2.cc index 459afe30ddc..794b4950175 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/copyfmt/char/2.cc @@ -29,8 +29,6 @@ // copyfmt and locales. void test03() { - bool test __attribute__((unused)) = true; - using namespace std; typedef std::ios_base::fmtflags fmtflags; diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/exceptions/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ios/exceptions/char/1.cc index c2357fcff35..6db11e7bcd9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/exceptions/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/exceptions/char/1.cc @@ -28,8 +28,6 @@ void test01() { - bool test __attribute__((unused)) = true; - typedef std::ios_base::fmtflags fmtflags; typedef std::ios_base::iostate iostate; using std::ios_base; diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/imbue/14072.cc b/libstdc++-v3/testsuite/27_io/basic_ios/imbue/14072.cc index 69a4dbd3365..d668377e898 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/imbue/14072.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/imbue/14072.cc @@ -29,7 +29,6 @@ // libstdc++/14072 void test01() { - bool test __attribute__((unused)) = true; using namespace std; locale loc; diff --git a/libstdc++-v3/testsuite/27_io/basic_ios/locales/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ios/locales/char/1.cc index 865cf07d0fe..f399a60a91e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ios/locales/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ios/locales/char/1.cc @@ -26,7 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; const std::locale c_loc = std::locale::classic(); std::ios ios_01(0); diff --git a/libstdc++-v3/testsuite/27_io/basic_iostream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_iostream/cons/2020.cc index f2ad5f70794..2a278e77113 100644 --- a/libstdc++-v3/testsuite/27_io/basic_iostream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_iostream/cons/2020.cc @@ -27,7 +27,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_iostream<__gnu_test::pod_ushort> gnu_iostr; try @@ -36,8 +35,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/cons/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/cons/3.cc index a6cf734c95d..efc9a642261 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/cons/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/cons/3.cc @@ -28,15 +28,13 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_istream<__gnu_test::pod_ushort> gnu_istr; try { gnu_istr obj(0); } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/char/9561.cc b/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/char/9561.cc index eb7f05d08a8..7901be36701 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/char/9561.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/char/9561.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf b; std::istream strm (&b); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc b/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc index 4f79d461f17..01684ba8228 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc @@ -24,7 +24,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf b; std::wistream strm (&b); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc index 65b455801c0..1e3367a1b7b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc @@ -42,9 +42,7 @@ std::istream is_04(&isbuf_04); std::stringstream ss_01(str_01); // minimal sanity check -bool test01() { - - bool test __attribute__((unused)) = true; +void test01() { // Integral Types: bool b1 = false; @@ -99,9 +97,9 @@ bool test01() { VERIFY( f1 == 1.5 ); is_04 >> std::hex >> i1; - std::printf ("%d %d %d\n", i1, i1 == 0x123, test); + std::printf ("%d %d\n", i1, i1 == 0x123); VERIFY( i1 == 0x123 ); - std::printf ("%d %d %d\n", i1, i1 == 0x123, test); + std::printf ("%d %d\n", i1, i1 == 0x123); // test void pointers int i = 55; @@ -112,7 +110,6 @@ bool test01() { ss_01 >> pi; std::printf ("%p %p\n", pi, po); VERIFY( po == pi ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc index e174f0d8c29..77d39cf90eb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc @@ -25,9 +25,8 @@ #include // elaborated test for ints -bool test02() +void test02() { - bool test __attribute__((unused)) = true; const std::string str_01("20000AB"); std::stringbuf strb_01(str_01, std::ios_base::in); std::istream is(&strb_01); @@ -37,7 +36,6 @@ bool test02() VERIFY( n == 20000 ); char c = is.peek(); VERIFY( c == 65 ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc index e6395a4c1b1..42d4bc7d6c9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc @@ -24,19 +24,17 @@ #include #include -bool test03() +void test03() { std::stringbuf sbuf; std::istream istr(&sbuf); std::ostream ostr(&sbuf); - bool test __attribute__((unused)) = true; long l01; ostr << "12220101"; istr >> l01; // _M_in_end set completely incorrectly here. VERIFY( l01 == 12220101 ); VERIFY( istr.rdstate() == std::ios_base::eofbit ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc index f384307ed52..a769356cac6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc @@ -29,7 +29,6 @@ void test06() { // default locale, grouping is turned off - bool test __attribute__((unused)) = true; unsigned int h4; char c; std::string s("205,199,144"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc index 2edd181457e..c32bc4559ef 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc @@ -37,7 +37,6 @@ namespace std { void test07() { // manufactured locale, grouping is turned on - bool test __attribute__((unused)) = true; unsigned int h4 = 0, h3 = 0, h2 = 0; float f1 = 0.0; const std::string s1("205,199 23,445.25 1,024,365 123,22,24"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc index 33e78657cb1..ec0c9a3febb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc @@ -37,7 +37,6 @@ namespace std { void test08() { // manufactured locale, grouping is turned on - bool test __attribute__((unused)) = true; unsigned int h4 = 0, h3 = 0, h2 = 0; const std::string s1("1,22 205,19 22,123,22"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc index 0d989f43cde..21e5b2414e5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc @@ -26,10 +26,8 @@ #include #include -bool test09() +void test09() { - bool test __attribute__((unused)) = true; - std::string st("2.456e3-+0.567e-2"); std::stringbuf sb(st); std::istream is(&sb); @@ -38,10 +36,9 @@ bool test09() (is>>std::ws) >> f1; (is>>std::ws) >> c; (is>>std::ws) >> f2; - test = f1 == 2456; + VERIFY( f1 == 2456 ); VERIFY( f2 == 0.00567 ); VERIFY( c == '-' ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc index fd146779a7e..0448115f311 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc @@ -24,14 +24,12 @@ #include #include -bool test10() +void test10() { std::string str_01("0 00 000 +0 +0 -0"); std::stringbuf isbuf_01(str_01); std::istream is_01(&isbuf_01); - bool test __attribute__((unused)) = true; - int n = 365; is_01 >> n; VERIFY( n == 0 ); @@ -123,7 +121,6 @@ bool test10() is_05.ignore(); is_05 >> n; VERIFY( n == 16 ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc index f7f1526669b..fe0184e49b4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc @@ -28,9 +28,8 @@ // In the presence of no fmtflags, the input operator should behave // like strtol(x, y, 0) // libstdc++/90 -bool test11() +void test11() { - bool test __attribute__((unused)) = true; const char* cstrlit = "0x2a"; // sanity check via 'C' library call @@ -44,8 +43,6 @@ bool test11() VERIFY (!iss.fail()); VERIFY (l == i); - - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc index 792dbcb4659..8ce21fd2bb8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc @@ -29,10 +29,8 @@ // libstdc++/3720 // excess input should not cause a core dump template -bool test12_aux(bool integer_type) +void test12_aux(bool integer_type) { - bool test __attribute__((unused)) = true; - int digits_overflow; if (integer_type) // This many digits will overflow integer types in base 10. @@ -50,19 +48,16 @@ bool test12_aux(bool integer_type) T t; is >> t; VERIFY(is.fail()); - return test; } bool test12() { - bool test __attribute__((unused)) = true; - VERIFY(test12_aux(true)); - VERIFY(test12_aux(true)); - VERIFY(test12_aux(true)); - VERIFY(test12_aux(false)); - VERIFY(test12_aux(false)); - VERIFY(test12_aux(false)); - return test; + test12_aux(true); + test12_aux(true); + test12_aux(true); + test12_aux(false); + test12_aux(false); + test12_aux(false); } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc index 5b7b4337d27..0394c0047a0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc @@ -29,7 +29,6 @@ void test13() { using namespace std; - bool test __attribute__((unused)) = true; const char* l2 = "1.2345678901234567890123456789012345678901234567890123456" " " "1246.9"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc index 0684c456222..765d23d7553 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc @@ -29,7 +29,6 @@ struct buf: std::streambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::istream is(&b); is.exceptions(std::ios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc index 00e6cb144ac..365948fad38 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; short s1 = 0; ostringstream oss1; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_badbit_throw.cc index 7e50635ebd5..337830932f6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_badbit_throw.cc @@ -27,7 +27,6 @@ template void test_badbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_get_char); istringstream stream("jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit.cc index 91e2fea9d42..7b31ec6edcc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit.cc @@ -26,7 +26,6 @@ template void test_failbit() { using namespace std; - bool test __attribute__((unused)) = true; istringstream stream("jaylib - champion sound"); stream.exceptions(ios_base::failbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit_throw.cc index b64cefb9b5b..7b0defb503f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit_throw.cc @@ -25,7 +25,6 @@ template void test_failbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_get_char); istringstream stream("jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc index 32d4d797768..d9dceef30fd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc @@ -37,8 +37,6 @@ void test03() stringbuf_type strbuf01; istream_type iss(&strbuf01); - bool test __attribute__((unused)) = true; - try { int i; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc index e7634908336..4bea0613111 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc @@ -40,9 +40,7 @@ std::wistream is_04(&isbuf_04); std::wstringstream ss_01(str_01); // minimal sanity check -bool test01() { - - bool test __attribute__((unused)) = true; +void test01() { // Integral Types: bool b1 = false; @@ -97,9 +95,9 @@ bool test01() { VERIFY( f1 == 1.5 ); is_04 >> std::hex >> i1; - std::printf ("%d %d %d\n", i1, i1 == 0x123, test); + std::printf ("%d %d\n", i1, i1 == 0x123); VERIFY( i1 == 0x123 ); - std::printf ("%d %d %d\n", i1, i1 == 0x123, test); + std::printf ("%d %d\n", i1, i1 == 0x123); // test void pointers int i = 55; @@ -110,7 +108,6 @@ bool test01() { ss_01 >> pi; std::printf ("%p %p\n", pi, po); VERIFY( po == pi ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc index de50937399d..ac1283cd00c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc @@ -23,9 +23,8 @@ #include // elaborated test for ints -bool test02() +void test02() { - bool test __attribute__((unused)) = true; const std::wstring str_01(L"20000AB"); std::wstringbuf strb_01(str_01, std::ios_base::in); std::wistream is(&strb_01); @@ -35,7 +34,6 @@ bool test02() VERIFY( n == 20000 ); wchar_t c = is.peek(); VERIFY( c == L'A' ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc index 9fe30c0ceab..3da90c3469e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc @@ -22,19 +22,17 @@ #include #include -bool test03() +void test03() { std::wstringbuf sbuf; std::wistream istr(&sbuf); std::wostream ostr(&sbuf); - bool test __attribute__((unused)) = true; long l01; ostr << L"12220101"; istr >> l01; // _M_in_end set completely incorrectly here. VERIFY( l01 == 12220101 ); VERIFY( istr.rdstate() == std::ios_base::eofbit ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc index 41c7fd61891..4852a767152 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc @@ -27,7 +27,6 @@ void test06() { // default locale, grouping is turned off - bool test __attribute__((unused)) = true; unsigned int h4; wchar_t c; std::wstring s(L"205,199,144"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc index 169f2aed65e..395ee4e5545 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc @@ -35,7 +35,6 @@ namespace std { void test07() { // manufactured locale, grouping is turned on - bool test __attribute__((unused)) = true; unsigned int h4 = 0, h3 = 0, h2 = 0; float f1 = 0.0; const std::wstring s1(L"205,199 23,445.25 1,024,365 123,22,24"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc index b0bb1bee4ea..912c82302ac 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc @@ -35,7 +35,6 @@ namespace std { void test08() { // manufactured locale, grouping is turned on - bool test __attribute__((unused)) = true; unsigned int h4 = 0, h3 = 0, h2 = 0; const std::wstring s1(L"1,22 205,19 22,123,22"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc index 979bb349adf..c6d72bbeabd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc @@ -24,10 +24,8 @@ #include #include -bool test09() +void test09() { - bool test __attribute__((unused)) = true; - std::wstring st(L"2.456e3-+0.567e-2"); std::wstringbuf sb(st); std::wistream is(&sb); @@ -36,10 +34,9 @@ bool test09() (is >> std::ws) >> f1; (is >> std::ws) >> c; (is >> std::ws) >> f2; - test = f1 == 2456; + VERIFY( f1 == 2456 ); VERIFY( f2 == 0.00567 ); VERIFY( c == L'-' ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc index 614e9de9675..c6052640dd0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc @@ -22,14 +22,12 @@ #include #include -bool test10() +void test10() { std::wstring str_01(L"0 00 000 +0 +0 -0"); std::wstringbuf isbuf_01(str_01); std::wistream is_01(&isbuf_01); - bool test __attribute__((unused)) = true; - int n = 365; is_01 >> n; VERIFY( n == 0 ); @@ -121,7 +119,6 @@ bool test10() is_05.ignore(); is_05 >> n; VERIFY( n == 16 ); - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc index 833a86209f9..ebe47c8bb0c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc @@ -26,9 +26,8 @@ // In the presence of no fmtflags, the input operator should behave // like strtol(x, y, 0) // libstdc++/90 -bool test11() +void test11() { - bool test __attribute__((unused)) = true; const wchar_t* cstrlit = L"0x2a"; // sanity check via 'C' library call @@ -42,8 +41,6 @@ bool test11() VERIFY( !iss.fail() ); VERIFY( l == i ); - - return test; } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc index 1bb2159f873..ec6a998c727 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc @@ -27,10 +27,8 @@ // libstdc++/3720 // excess input should not cause a core dump template -bool test12_aux(bool integer_type) +void test12_aux(bool integer_type) { - bool test __attribute__((unused)) = true; - int digits_overflow; if (integer_type) // This many digits will overflow integer types in base 10. @@ -48,19 +46,16 @@ bool test12_aux(bool integer_type) T t; is >> t; VERIFY( is.fail() ); - return test; } -bool test12() +void test12() { - bool test __attribute__((unused)) = true; - VERIFY( test12_aux(true) ); - VERIFY( test12_aux(true) ); - VERIFY( test12_aux(true) ); - VERIFY( test12_aux(false) ); - VERIFY( test12_aux(false) ); - VERIFY( test12_aux(false) ); - return test; + test12_aux(true); + test12_aux(true); + test12_aux(true); + test12_aux(false); + test12_aux(false); + test12_aux(false); } int main() diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc index a93f81c5794..3ae3edd2f3d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc @@ -27,7 +27,6 @@ void test13() { using namespace std; - bool test __attribute__((unused)) = true; const wchar_t* l2 = L"1.2345678901234567890123456789012345678901234567890123456" L" " L"1246.9"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/9555-ia.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/9555-ia.cc index 8d66a482815..eb3158d0716 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/9555-ia.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/9555-ia.cc @@ -29,7 +29,6 @@ struct buf: std::wstreambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::wistream is(&b); is.exceptions(std::ios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/dr696.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/dr696.cc index 8158c71614c..65a7ef45a00 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/dr696.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/dr696.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; short s1 = 0; wostringstream oss1; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_badbit_throw.cc index 16c34b771f3..3a9c280661e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_badbit_throw.cc @@ -25,7 +25,6 @@ template void test_badbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_get_wchar_t); wistringstream stream(L"jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit.cc index 088b2ca846d..d9e721a590b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit.cc @@ -26,7 +26,6 @@ template void test_failbit() { using namespace std; - bool test __attribute__((unused)) = true; wistringstream stream(L"jaylib - champion sound"); stream.exceptions(ios_base::failbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit_throw.cc index 9c8acf6d625..ad32a98ac15 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/exceptions_failbit_throw.cc @@ -25,7 +25,6 @@ template void test_failbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_get_wchar_t); wistringstream stream(L"jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/1.cc index abfd2a97f73..daa462963ee 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/1.cc @@ -25,7 +25,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::string str_01; const std::string str_02("coltrane playing 'softly as a morning sunrise'"); const std::string str_03("coltrane"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc index fbeac88e47e..f90d9579243 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc @@ -27,7 +27,6 @@ // operator>>(basic_istream&, _CharT*) void test01() { - bool test __attribute__((unused)) = true; const std::string str_01("Consoli "); std::stringbuf isbuf_01(str_01, std::ios_base::in); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/2.cc index 4868853dfc9..77e4bbcd6e2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/2.cc @@ -27,7 +27,6 @@ void test02() { typedef std::ios::traits_type ctraits_type; - bool test __attribute__((unused)) = true; std::string str_01; const std::string str_02("or coltrane playing tunji with jimmy garrison"); const std::string str_03("coltrane"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/3.cc index f9da61f7de7..90b12fb3f43 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/3.cc @@ -25,7 +25,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::string str_01; const std::string str_02("coltrane playing 'softly as a morning sunrise'"); const std::string str_03("coltrane"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc index bdb8785935b..f6517d05a2f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc @@ -45,8 +45,6 @@ string prepare(string::size_type len, unsigned nchunks) void check(istream& stream, const string& str, unsigned nchunks) { - bool test __attribute__((unused)) = true; - char* chunk = new char[str.size()]; memset(chunk, 'X', str.size()); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc index 2232a661738..4b6dc7468a7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc @@ -29,7 +29,6 @@ struct buf: std::streambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::istream is(&b); is.exceptions(std::ios::badbit); @@ -45,8 +44,7 @@ void testthrow(T arg) } catch(...) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc index d84650bb925..9562c817955 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc @@ -38,8 +38,6 @@ void test03() stringbuf_type strbuf01; istream_type iss(&strbuf01); - bool test __attribute__((unused)) = true; - // input streams pod_ushort arr[6] = { { value_type('a') }, { value_type('b') }, { value_type('c') }, { value_type('d') }, diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc index a3f1e2573e2..451bbbf090d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc @@ -23,7 +23,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::wstring str_01; const std::wstring str_02(L"coltrane playing 'softly as a morning sunrise'"); const std::wstring str_03(L"coltrane"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/11095-i.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/11095-i.cc index 25e8e09b86a..2f70387709c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/11095-i.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/11095-i.cc @@ -25,7 +25,6 @@ // operator>>(basic_istream&, _CharT*) void test01() { - bool test __attribute__((unused)) = true; const std::wstring str_01(L"Consoli "); std::wstringbuf isbuf_01(str_01, std::ios_base::in); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc index 7c90606436e..744b6970e11 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc @@ -23,7 +23,6 @@ void test02() { - bool test __attribute__((unused)) = true; std::wstring str_01; const std::wstring str_02(L"or coltrane playing tunji with jimmy garrison"); const std::wstring str_03(L"coltrane"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc index 41ba45e34e5..90dc751e930 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc @@ -23,7 +23,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::wstring str_01; const std::wstring str_02(L"coltrane playing 'softly as a morning sunrise'"); const std::wstring str_03(L"coltrane"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc index 1740628b2e5..76b12c5c7b6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc @@ -48,8 +48,6 @@ wstring prepare(wstring::size_type len, unsigned nchunks) void check(wistream& stream, const wstring& str, unsigned nchunks) { - bool test __attribute__((unused)) = true; - wchar_t* chunk = new wchar_t[str.size()]; wmemset(chunk, L'X', str.size()); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/9555-ic.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/9555-ic.cc index 5d87162656a..55281695f63 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/9555-ic.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/9555-ic.cc @@ -29,7 +29,6 @@ struct buf: std::wstreambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::wistream is(&b); is.exceptions(std::wios::badbit); @@ -45,8 +44,7 @@ void testthrow(T arg) } catch(...) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/1.cc index 93b2cc6ad70..365eb1c4eeb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/1.cc @@ -28,7 +28,6 @@ void test01() { typedef std::ios::traits_type ctraits_type; - bool test __attribute__((unused)) = true; const std::string str_01; const std::string str_02("art taylor kickin it on DAKAR"); std::string strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc index 473aa2581cb..08125bafde0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc @@ -30,7 +30,6 @@ // filebufs. void test02() { - bool test __attribute__((unused)) = true; const char name_01[] = "istream_extractor_other-1.txt"; //read const char name_02[] = "istream_extractor_other-2.txt"; //write @@ -40,12 +39,11 @@ void test02() VERIFY( fbin.is_open() ); VERIFY( fbout.is_open() ); - if (test) - { - std::istream is(&fbin); - is.unsetf(std::ios_base::skipws); - is >> &fbout; - } + { + std::istream is(&fbin); + is.unsetf(std::ios_base::skipws); + is >> &fbout; + } fbout.close(); fbin.close(); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/26181.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/26181.cc index fbfb399e7a1..96529c22c58 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/26181.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/26181.cc @@ -23,7 +23,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef istringstream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/3.cc index a94f00b6e71..e34529db4a1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/3.cc @@ -25,8 +25,7 @@ void test03() { - using namespace std; - bool test __attribute__((unused)) = true; + using namespace std; // template<_CharT, _Traits> // basic_istream& operator>>(ios_base& (*pf) (ios_base&)) diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc index f789c2f1afa..65e88122f59 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc @@ -46,8 +46,6 @@ private: void test09() { - bool test __attribute__((unused)) = true; - std::istringstream stream("Bad Moon Rising"); Outbuf buf; stream >> &buf; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc index 55fdf4925d7..a5a69f8720d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc @@ -87,8 +87,6 @@ const char Inbuf_2::buf[] = "Atteivlis"; void test11() { - bool test __attribute__((unused)) = true; - Inbuf_2 inbuf1; std::istream is(&inbuf1); Outbuf_2 outbuf1; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc index 7eda7282005..3058e5a7a92 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc @@ -29,7 +29,6 @@ struct buf: std::streambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::istream is(&b); is.exceptions(std::ios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/error_failbit.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/error_failbit.cc index 089ea8f320b..c0d9e41c3c8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/error_failbit.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/error_failbit.cc @@ -26,7 +26,6 @@ using namespace std; void test6() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; istream stream(&bib); stringbuf sbuf("", ios_base::out); @@ -39,7 +38,6 @@ void test6() void test8() { - bool test __attribute__((unused)) = true; istringstream stream("foo, bar, qux"); __gnu_test::fail_streambuf bob; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_badbit_throw.cc index 72d3ed390c6..16291c08bbb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test14() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; istream stream(&bib); stream.exceptions(ios_base::badbit); @@ -45,7 +44,6 @@ void test14() void test16() { - bool test __attribute__((unused)) = true; istringstream stream("foo, bar, qux"); stream.exceptions(ios_base::badbit); __gnu_test::fail_streambuf bob; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_failbit_throw.cc index 3e2788575b8..d466b0b7786 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_failbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test10() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; istream stream(&bib); stream.exceptions(ios_base::failbit); @@ -50,7 +49,6 @@ void test10() void test12() { - bool test __attribute__((unused)) = true; istringstream stream("foo, bar, qux"); stream.exceptions(ios_base::failbit); __gnu_test::fail_streambuf bob; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_null.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_null.cc index f6842fbea7e..c86542f863e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_null.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/exceptions_null.cc @@ -28,7 +28,6 @@ using namespace std; void test2() { - bool test __attribute__((unused)) = true; istringstream stream; stream >> static_cast(0); VERIFY(stream.rdstate() & ios_base::failbit); @@ -36,7 +35,6 @@ void test2() void test4() { - bool test __attribute__((unused)) = true; istringstream stream; stream.exceptions(ios_base::failbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc index 6730e41b8e5..49221eeb2d5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc @@ -36,8 +36,6 @@ void test03() stringbuf_type strbuf01; istream_type iss(&strbuf01); - - bool test __attribute__((unused)) = true; try { diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc index 353117fa5c9..bdd56fdab32 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc @@ -26,7 +26,6 @@ void test01() { typedef std::wios::traits_type ctraits_type; - bool test __attribute__((unused)) = true; const std::wstring str_01; const std::wstring str_02(L"art taylor kickin it on DAKAR"); std::wstring strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc index 55698a0fe37..1a9aca02c9f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc @@ -26,7 +26,6 @@ // filebufs. void test02() { - bool test __attribute__((unused)) = true; const char name_01[] = "wistream_extractor_other-1.txt"; //read const char name_02[] = "wistream_extractor_other-2.txt"; //write @@ -36,12 +35,11 @@ void test02() VERIFY( fbin.is_open() ); VERIFY( fbout.is_open() ); - if (test) - { - std::wistream is(&fbin); - is.unsetf(std::ios_base::skipws); - is >> &fbout; - } + { + std::wistream is(&fbin); + is.unsetf(std::ios_base::skipws); + is >> &fbout; + } fbout.close(); fbin.close(); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc index 2d646dc9a5e..218ab80722c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc @@ -23,7 +23,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef wistringstream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc index 7865d43a02e..bb42f091400 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc @@ -24,7 +24,6 @@ void test03() { using namespace std; - bool test __attribute__((unused)) = true; // template<_CharT, _Traits> // basic_istream& operator>>(ios_base& (*pf) (ios_base&)) diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc index f7ab5dbe934..d46133ea22d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc @@ -44,8 +44,6 @@ private: void test09() { - bool test __attribute__((unused)) = true; - std::wistringstream stream(L"Bad Moon Rising"); Outbuf buf; stream >> &buf; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc index dc4dcf11164..82b935ef53a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc @@ -86,8 +86,6 @@ const wchar_t Inbuf_2::buf[] = L"Atteivlis"; void test11() { - bool test __attribute__((unused)) = true; - Inbuf_2 inbuf1; std::wistream is(&inbuf1); Outbuf_2 outbuf1; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc index ab59e7916df..517d1cb1d81 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc @@ -29,7 +29,6 @@ struct buf: std::wstreambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::wistream is(&b); is.exceptions(std::wios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/error_failbit.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/error_failbit.cc index 55369537deb..4d249921400 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/error_failbit.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/error_failbit.cc @@ -26,7 +26,6 @@ using namespace std; void test6() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wistream stream(&bib); wstringbuf sbuf(L"", ios_base::out); @@ -39,7 +38,6 @@ void test6() void test8() { - bool test __attribute__((unused)) = true; wistringstream stream(L"foo, bar, qux"); __gnu_test::fail_wstreambuf bob; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_badbit_throw.cc index 155b96fde30..18214d6e9c3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test14() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wistream stream(&bib); stream.exceptions(ios_base::badbit); @@ -45,7 +44,6 @@ void test14() void test16() { - bool test __attribute__((unused)) = true; wistringstream stream(L"foo, bar, qux"); stream.exceptions(ios_base::badbit); __gnu_test::fail_wstreambuf bob; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_failbit_throw.cc index d99fc1943c9..e6b44f75ddf 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_failbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test10() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wistream stream(&bib); stream.exceptions(ios_base::failbit); @@ -50,7 +49,6 @@ void test10() void test12() { - bool test __attribute__((unused)) = true; wistringstream stream(L"foo, bar, qux"); stream.exceptions(ios_base::failbit); __gnu_test::fail_wstreambuf bob; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_null.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_null.cc index 7ca929febfa..9dd99d3cfe0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_null.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/exceptions_null.cc @@ -28,7 +28,6 @@ using namespace std; void test2() { - bool test __attribute__((unused)) = true; wistringstream stream; stream >> static_cast(0); VERIFY( stream.rdstate() & ios_base::failbit ); @@ -36,7 +35,6 @@ void test2() void test4() { - bool test __attribute__((unused)) = true; wistringstream stream; stream.exceptions(ios_base::failbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/1.cc index f830e133e50..6f5734e935b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/1.cc @@ -28,7 +28,6 @@ test03() { typedef std::char_traits traits_type; - bool test __attribute__((unused)) = true; const char str_lit01[] = " sun*ra \n\t\t\t & his arkestra, featuring john gilmore: \n" " " diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.cc index 56a1f1bcc8e..52975e7e543 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.cc @@ -34,7 +34,6 @@ void test07() { - bool test __attribute__((unused)) = true; const char* tfn = "istream_unformatted-1.txt"; std::ifstream infile; infile.open(tfn); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/3.cc index da92b160c94..1e718964e8e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/3.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; stringbuf strbuf01; stringbuf strbuf02; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/1.cc index f5b522c8220..5d8aa5dbbb1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/1.cc @@ -26,7 +26,6 @@ test03() { typedef std::char_traits traits_type; - bool test __attribute__((unused)) = true; const wchar_t str_lit01[] = L" sun*ra \n\t\t\t & his arkestra, featuring john gilmore: \n" L" " diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc index ccc838aeb6f..d73a16ebed7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc @@ -30,7 +30,6 @@ void test07() { - bool test __attribute__((unused)) = true; const char* tfn = "istream_unformatted-1.txt"; std::wifstream infile; infile.open(tfn); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/3.cc index 7c5c45f5bec..932391ae27d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/3.cc @@ -24,7 +24,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wstringbuf strbuf01; wstringbuf strbuf02; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/1.cc index b1d24f2b385..eb83fa7a343 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/1.cc @@ -28,7 +28,6 @@ test02() { typedef std::char_traits traits_type; - bool test __attribute__((unused)) = true; const char str_lit01[] = "\t\t\t sun*ra \n" " " "and his myth science arkestra present\n" diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/2.cc index 044c8d61430..c5088ea32c6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/2.cc @@ -45,7 +45,6 @@ test05() "aaaaaaaaaaaaa\n" "aaaaaaaaaaaaaa\n"; - bool test __attribute__((unused)) = true; const std::streamsize it = 5; std::streamsize br = 0; char tmp[it]; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/3.cc index 75087bfdb72..825c72cbe6c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/3.cc @@ -32,7 +32,6 @@ test06() { using namespace std; - bool test __attribute__((unused)) = true; const streamsize it = 5; char tmp[it]; const char* str_lit = "abcd\n"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/4.cc index afea0e3192a..8c8374b1d4e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/4.cc @@ -55,7 +55,6 @@ const char Inbuf::buf[] = "1234567890abcdefghij"; void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef char_traits traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc index a0e0c9e899f..368b200ec44 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc @@ -42,8 +42,6 @@ string prepare(string::size_type len, unsigned nchunks, char delim) void check(istream& stream, const string& str, unsigned nchunks, char delim) { - bool test __attribute__((unused)) = true; - char buf[1000000]; string::size_type index = 0, index_new = 0; unsigned n = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/6.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/6.cc index f014cc173d8..8eaf6e46494 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/6.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/6.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; stringbuf strbuf01; stringbuf strbuf02; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/1.cc index 95925102241..5711dd2e2bb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/1.cc @@ -26,7 +26,6 @@ test02() { typedef std::char_traits traits_type; - bool test __attribute__((unused)) = true; const wchar_t str_lit01[] = L"\t\t\t sun*ra \n" L" " L"and his myth science arkestra present\n" diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/2.cc index a8dff13a33b..062fbfd83d3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/2.cc @@ -43,7 +43,6 @@ L"aaaaaaaaaaaa\n" L"aaaaaaaaaaaaa\n" L"aaaaaaaaaaaaaa\n"; - bool test __attribute__((unused)) = true; const std::streamsize it = 5; std::streamsize br = 0; wchar_t tmp[it]; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/3.cc index c0ead59efc5..2277d1992c0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/3.cc @@ -30,7 +30,6 @@ test06() { using namespace std; - bool test __attribute__((unused)) = true; const streamsize it = 5; wchar_t tmp[it]; const wchar_t* str_lit = L"abcd\n"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/4.cc index 5f7cbe2a7f1..6ff688faa06 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/4.cc @@ -55,7 +55,6 @@ const wchar_t Inbuf::buf[] = L"1234567890abcdefghij"; void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef char_traits traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc index 1fb99d9d84a..698afdfcabb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc @@ -48,8 +48,6 @@ prepare(wstring::size_type len, unsigned nchunks, wchar_t delim) void check(wistream& stream, const wstring& str, unsigned nchunks, wchar_t delim) { - bool test __attribute__((unused)) = true; - static wchar_t buf[1000000]; wstring::size_type index = 0, index_new = 0; unsigned n = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/6.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/6.cc index 95486403cfb..e23d2bd5665 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/6.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/6.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wstringbuf strbuf01; wstringbuf strbuf02; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/1.cc index 5faf23d6bcf..3fff5a2a226 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/1.cc @@ -28,7 +28,6 @@ test01() { typedef std::ios::traits_type traits_type; - bool test __attribute__((unused)) = true; const std::string str_01; const std::string str_02("soul eyes: john coltrane quartet"); std::string strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc index 6e70be2471d..e64c29864d0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc @@ -43,8 +43,6 @@ string prepare(string::size_type len, unsigned nchunks, char delim) void check(istream& stream, const string& str, unsigned nchunks, char delim) { - bool test __attribute__((unused)) = true; - string::size_type index = 0, index_new = 0; unsigned n = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc index e02b4879a9d..1ff24a69a15 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc @@ -33,7 +33,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char filename[] ="istream_unformatted-1.txt"; ios_base::iostate state1, state2; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/6360.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/6360.cc index 377e0e581d2..b75355ef993 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/6360.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/6360.cc @@ -28,7 +28,6 @@ void test08() { using namespace std; - bool test __attribute__((unused)) = true; stringstream ss("abcd" "\xFF" "1234ina donna coolbrith"); char c; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/7220.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/7220.cc index 6b11daa7cdb..3ac70ba98ab 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/7220.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/7220.cc @@ -28,7 +28,6 @@ void test10() { using namespace std; - bool test __attribute__((unused)) = true; typedef string string_type; typedef stringbuf stringbuf_type; typedef istream istream_type; @@ -40,23 +39,19 @@ test10() istr.ignore(0); if (istr.gcount() != 0) - test = false; - VERIFY( test ); + VERIFY( false ); istr.ignore(0, 'b'); if (istr.gcount() != 0) - test = false; - VERIFY( test ); + VERIFY( false ); istr.ignore(); // Advance to next position. istr.ignore(0, 'b'); if ((n=istr.gcount()) != 0) - test = false; - VERIFY( test ); + VERIFY( false ); if (istr.peek() != 'b') - test = false; - VERIFY( test ); + VERIFY( false ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/1.cc index b7dd921516e..2bd14a24622 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/1.cc @@ -26,7 +26,6 @@ test01() { typedef std::ios::traits_type traits_type; - bool test __attribute__((unused)) = true; const std::wstring str_01; const std::wstring str_02(L"soul eyes: john coltrane quartet"); std::wstring strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc index 91ed5397cec..c732eeb746d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc @@ -49,8 +49,6 @@ prepare(wstring::size_type len, unsigned nchunks, wchar_t delim) void check(wistream& stream, const wstring& str, unsigned nchunks, wchar_t delim) { - bool test __attribute__((unused)) = true; - wstring::size_type index = 0, index_new = 0; unsigned n = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc index f395ee9c221..b7d7c85fc11 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc @@ -29,7 +29,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char filename[] ="istream_unformatted-1.txt"; ios_base::iostate state1, state2; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc index 89193635294..d5e8773a27b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc @@ -26,7 +26,6 @@ void test08() { using namespace std; - bool test __attribute__((unused)) = true; wstringstream ss(L"abcd" L"\xFF" L"1234ina donna coolbrith"); wchar_t c; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc index 1ad714625e5..bde00d5e076 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc @@ -26,7 +26,6 @@ void test10() { using namespace std; - bool test __attribute__((unused)) = true; typedef wstring string_type; typedef wstringbuf stringbuf_type; typedef wistream istream_type; @@ -38,23 +37,19 @@ test10() istr.ignore(0); if (istr.gcount() != 0) - test = false; - VERIFY( test ); + VERIFY( false ); istr.ignore(0, L'b'); if (istr.gcount() != 0) - test = false; - VERIFY( test ); + VERIFY( false ); istr.ignore(); // Advance to next position. istr.ignore(0, L'b'); if ((n=istr.gcount()) != 0) - test = false; - VERIFY( test ); + VERIFY( false ); if (istr.peek() != L'b') - test = false; - VERIFY( test ); + VERIFY( false ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/1.cc index 39eedc461ca..ac7adfb5576 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/1.cc @@ -28,7 +28,6 @@ test01() { typedef std::ios::traits_type traits_type; - bool test __attribute__((unused)) = true; const std::string str_01; const std::string str_02("soul eyes: john coltrane quartet"); std::string strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/12296.cc b/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/12296.cc index 9038be4b22e..b05df1b65cd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/12296.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/12296.cc @@ -24,7 +24,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; istringstream stream; VERIFY( stream.rdstate() == ios_base::goodbit ); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/6414.cc b/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/6414.cc index a45b34c15c8..ed3335ce1e0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/6414.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/peek/char/6414.cc @@ -29,7 +29,6 @@ // fstreams void test04(void) { - bool test __attribute__((unused)) = true; std::istream::pos_type pos01, pos02; const char str_lit01[] = "istream_seeks-1.txt"; std::ifstream if01(str_lit01, std::ios_base::in | std::ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/1.cc index fc788b3d016..a829f44cb69 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/1.cc @@ -26,7 +26,6 @@ test01() { typedef std::wios::traits_type traits_type; - bool test __attribute__((unused)) = true; const std::wstring str_01; const std::wstring str_02(L"soul eyes: john coltrane quartet"); std::wstring strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/12296.cc b/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/12296.cc index 503b7ca7427..b9773d63801 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/12296.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/12296.cc @@ -24,7 +24,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wistringstream stream; VERIFY( stream.rdstate() == ios_base::goodbit ); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/6414.cc b/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/6414.cc index 7afc425437d..6aa44694e79 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/6414.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/peek/wchar_t/6414.cc @@ -27,7 +27,6 @@ // fstreams void test04(void) { - bool test __attribute__((unused)) = true; std::wistream::pos_type pos01, pos02; const char str_lit01[] = "wistream_seeks-1.txt"; std::wifstream if01(str_lit01, std::ios_base::in | std::ios_base::out); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/putback/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/putback/char/1.cc index 4f2cacaa543..6aa72302c93 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/putback/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/putback/char/1.cc @@ -26,7 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; const std::string str_01; const std::string str_02("soul eyes: john coltrane quartet"); std::string strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/putback/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/putback/wchar_t/1.cc index be86d4aef17..9d6c0493be1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/putback/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/putback/wchar_t/1.cc @@ -24,7 +24,6 @@ void test01() { - bool test __attribute__((unused)) = true; const std::wstring str_01; const std::wstring str_02(L"soul eyes: john coltrane quartet"); std::wstring strtmp; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/read/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/read/char/1.cc index 49df5ea5c9f..b71bd884793 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/read/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/read/char/1.cc @@ -27,7 +27,6 @@ void test01() { - bool test __attribute__((unused)) = true; const std::string str_02("soul eyes: john coltrane quartet"); std::stringbuf isbuf_03(str_02, std::ios_base::in); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/read/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/read/char/2.cc index a06a95e0585..f7d0c6114c5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/read/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/read/char/2.cc @@ -28,8 +28,6 @@ void test04() { - bool test __attribute__((unused)) = true; - const std::string str_00("Red_Garland_Qunitet-Soul_Junction"); char c_array[str_00.size() + 4]; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/read/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/read/char/3.cc index 054946b267f..1a4f24fb521 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/read/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/read/char/3.cc @@ -28,14 +28,12 @@ void test09() { using namespace std; - bool test __attribute__((unused)) = true; istringstream iss("Juana Briones"); char tab[13]; iss.read(tab, 13); if (!iss) - test = false; - VERIFY( test ); + VERIFY( false ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/1.cc index 0965ad4f052..4f215748254 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/1.cc @@ -25,7 +25,6 @@ void test01() { - bool test __attribute__((unused)) = true; const std::wstring str_02(L"soul eyes: john coltrane quartet"); std::wstringbuf isbuf_03(str_02, std::ios_base::in); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/2.cc index e24bf3d6c69..2d7234f652b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/2.cc @@ -26,8 +26,6 @@ void test04() { - bool test __attribute__((unused)) = true; - const std::wstring str_00(L"Red_Garland_Qunitet-Soul_Junction"); wchar_t c_array[str_00.size() + 4]; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/3.cc index d7438bea70f..efcf09ab703 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/read/wchar_t/3.cc @@ -26,14 +26,12 @@ void test09() { using namespace std; - bool test __attribute__((unused)) = true; wistringstream iss(L"Juana Briones"); wchar_t tab[13]; iss.read(tab, 13); if (!iss) - test = false; - VERIFY( test ); + VERIFY( false ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-1.cc index d3d4464cd0d..07523b17fad 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-1.cc @@ -27,7 +27,6 @@ void test12() { using namespace std; - bool test __attribute__((unused)) = true; streamsize sum = 0; istringstream iss("shamma shamma"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc index 7c12f6483cc..4c1862769eb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc @@ -36,7 +36,6 @@ void test13() { using namespace std; - bool test __attribute__((unused)) = true; streamsize sum = 0; ifstream ifs("istream_unformatted-1.tst"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/8258.cc b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/8258.cc index 04a040e511c..64ef334e049 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/8258.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/8258.cc @@ -29,7 +29,6 @@ class mybuf : public std::basic_streambuf void test11() { - bool test __attribute__((unused)) = true; using namespace std; char arr[10]; mybuf sbuf; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc index 8486d18e0c1..f9d08c870ef 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc @@ -25,7 +25,6 @@ void test12() { using namespace std; - bool test __attribute__((unused)) = true; streamsize sum = 0; wistringstream iss(L"shamma shamma"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc index eef671dabcd..a7922d7e151 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc @@ -34,7 +34,6 @@ void test13() { using namespace std; - bool test __attribute__((unused)) = true; streamsize sum = 0; wifstream ifs("wistream_unformatted-1.tst"); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc index 274a23f4106..78f87dfa296 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc @@ -27,7 +27,6 @@ class mybuf : public std::basic_streambuf void test11() { - bool test __attribute__((unused)) = true; using namespace std; wchar_t arr[10]; mybuf sbuf; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2.cc index ebd48fc21a3..f2e71a6a4c1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/2.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; istringstream ist("the lamb lies down on broadway"); ios::pos_type pos = ist.tellg(); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/26211.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/26211.cc index 2a495870392..d0b5d5cbd0c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/26211.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/26211.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef istringstream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-1.cc index b08cfa0d507..7f3d515d74a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-1.cc @@ -28,7 +28,6 @@ void test06(void) { using namespace std; - bool test __attribute__((unused)) = true; string num1("555"); // seekg @@ -37,10 +36,10 @@ void test06(void) istream::pos_type pos1 = iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(pos1); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-2.cc index d0b8c10e4ff..d6ef6dbe5a6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/8348-2.cc @@ -28,7 +28,6 @@ void test06(void) { using namespace std; - bool test __attribute__((unused)) = true; string num1("555"); // seekg @@ -37,10 +36,10 @@ void test06(void) iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(0, ios_base::beg); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc index ae559b5980b..cc22226ddd4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; istream stream(&bib); stream.exceptions(ios_base::badbit); @@ -53,7 +52,6 @@ void test01() void test02() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; istream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc index 41cf00a69d3..14c703533de 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc @@ -34,7 +34,6 @@ void test04(void) { typedef std::istream::off_type off_type; - bool test __attribute__((unused)) = true; std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "istream_seeks-1.txt"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc index 41155bd80d4..5bb7dcec3a7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc @@ -34,7 +34,6 @@ void test05(void) { typedef std::istream::off_type off_type; - bool test __attribute__((unused)) = true; std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "istream_seeks-1.tst"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/2.cc index 1e45fc1ff53..4456c88028d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/2.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wistringstream ist(L"the lamb lies down on broadway"); wios::pos_type pos = ist.tellg(); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc index 0ebc6f46e2a..e60cb300afa 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef wistringstream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc index 9005ce54647..c7dc8af373b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc @@ -26,7 +26,6 @@ void test06(void) { using namespace std; - bool test __attribute__((unused)) = true; wstring num1(L"555"); // seekg @@ -35,10 +34,10 @@ void test06(void) wistream::pos_type pos1 = iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(pos1); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc index dcfb4b4939e..918296a0efc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc @@ -26,7 +26,6 @@ void test06(void) { using namespace std; - bool test __attribute__((unused)) = true; wstring num1(L"555"); // seekg @@ -35,10 +34,10 @@ void test06(void) iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(0, ios_base::beg); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/exceptions_badbit_throw.cc index 2a9a56d7a34..a260fcdd586 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wistream stream(&bib); stream.exceptions(ios_base::badbit); @@ -53,7 +52,6 @@ void test01() void test02() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wistream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc index 9214bb370e9..d5daa365b5d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc @@ -32,7 +32,6 @@ void test04(void) { typedef std::wistream::off_type off_type; - bool test __attribute__((unused)) = true; std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "wistream_seeks-1.txt"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc index b9e7cce1935..b6fc400044a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc @@ -32,7 +32,6 @@ void test05(void) { typedef std::istream::off_type off_type; - bool test __attribute__((unused)) = true; std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "wistream_seeks-1.tst"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/1.cc index ef23f576b72..ddd134b3514 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/1.cc @@ -26,7 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; const char* lit01 = "stereolab on the bolsinga tip"; const std::string str01(lit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/2.cc index b09017dcc0d..70c89c966d4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/2.cc @@ -30,7 +30,6 @@ test02() { using namespace std; istringstream in("80.21 56.89 12.3"); - bool test __attribute__((unused)) = true; int i = 0; double x; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3.cc index 509faedef76..abf03bc7da3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/char/3.cc @@ -28,8 +28,6 @@ void test03() { - bool test __attribute__((unused)) = true; - std::stringbuf strbuf01; std::istream strm1(&strbuf01); const std::istream::sentry sentry1(strm1); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc index f7454912055..2f46f7535e7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/pod/1.cc @@ -35,9 +35,6 @@ void test01() typedef basic_stringbuf stringbuf_type; typedef basic_istream istream_type; - bool test __attribute__((unused)) = true; - - const string_type str01; stringbuf_type strbuf01; stringbuf_type strbuf02(str01); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/1.cc index 273c8d98dff..24f94fd353f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/1.cc @@ -24,7 +24,6 @@ void test01() { - bool test __attribute__((unused)) = true; const wchar_t* lit01 = L"stereolab on the bolsinga tip"; const std::wstring str01(lit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/2.cc index 59143e1339a..6fb4a4f857b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/2.cc @@ -28,7 +28,6 @@ test02() { using namespace std; wistringstream in(L"80.21 56.89 12.3"); - bool test __attribute__((unused)) = true; int i = 0; double x; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/3.cc index ad7f5539676..a8b4d940048 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/sentry/wchar_t/3.cc @@ -26,8 +26,6 @@ void test03() { - bool test __attribute__((unused)) = true; - std::wstringbuf strbuf01; std::wistream strm1(&strbuf01); const std::wistream::sentry sentry1(strm1); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc index 3fee590f260..ce04b22a446 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc @@ -35,7 +35,6 @@ void test01() typedef ios::off_type off_type; typedef ios::pos_type pos_type; - bool test __attribute__((unused)) = true; const char str_lit01[] = "istream_seeks-1.tst"; // in diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/2.cc index ec34c8e4f7e..c097fed95bb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/2.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; istringstream ist("three sides live"); ist.ignore(4); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/26211.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/26211.cc index d04eb413e4f..502a46d684a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/26211.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/26211.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef istringstream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/8348.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/8348.cc index 5fe13d9cb8a..f69298836e9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/8348.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/8348.cc @@ -28,7 +28,6 @@ void test06(void) { using namespace std; - bool test __attribute__((unused)) = true; string num1("555"); // tellg @@ -37,11 +36,11 @@ void test06(void) iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.clear(); iss.tellg(); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } // seekg @@ -50,10 +49,10 @@ void test06(void) iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(0, ios_base::beg); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } // seekg @@ -62,10 +61,10 @@ void test06(void) istream::pos_type pos1 = iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(pos1); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc index 2749e0fd382..5d5122218ee 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; istream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc index 3b0bd6cc952..af22926824f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc @@ -34,7 +34,6 @@ void test04(void) { typedef std::istream::off_type off_type; - bool test __attribute__((unused)) = true; std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "istream_seeks-1.txt"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc index 23b4fbaf0a6..2adf5d93ba8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc @@ -34,7 +34,6 @@ void test05(void) { typedef std::istream::off_type off_type; - bool test __attribute__((unused)) = true; std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "istream_seeks-1.tst"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/1.cc index 865f373c04c..1ec1a0b74eb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/1.cc @@ -33,7 +33,6 @@ void test01() typedef ios::off_type off_type; typedef ios::pos_type pos_type; - bool test __attribute__((unused)) = true; const char str_lit01[] = "wistream_seeks-1.tst"; // in diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/2.cc index 1b7a0406322..620cd273f23 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/2.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wistringstream ist(L"three sides live"); ist.ignore(4); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc index 67c66f4edc4..bb8095bf280 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef wistringstream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc index 95bf69a64ff..c75e2bb8b7a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc @@ -26,7 +26,6 @@ void test06(void) { using namespace std; - bool test __attribute__((unused)) = true; wstring num1(L"555"); // tellg @@ -35,11 +34,11 @@ void test06(void) iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.clear(); iss.tellg(); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } // seekg @@ -48,10 +47,10 @@ void test06(void) iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(0, ios_base::beg); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } // seekg @@ -60,10 +59,10 @@ void test06(void) wistream::pos_type pos1 = iss.tellg(); int asNum = 0; iss >> asNum; - VERIFY( test = iss.eof() ); - VERIFY( test = !iss.fail() ); + VERIFY( iss.eof() ); + VERIFY( !iss.fail() ); iss.seekg(pos1); - VERIFY( test = !iss.fail() ); + VERIFY( !iss.fail() ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/exceptions_badbit_throw.cc index de1b479274e..e38832fa0c6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wistream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc index fba005e80b1..ca049b2edd1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc @@ -32,7 +32,6 @@ void test04(void) { typedef std::wistream::off_type off_type; - bool test __attribute__((unused)) = true; std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "wistream_seeks-1.txt"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc index 1ae861b3b65..a88b565d25c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc @@ -30,7 +30,6 @@ void test05(void) { typedef std::wistream::off_type off_type; - bool test __attribute__((unused)) = true; std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06; std::ios_base::iostate state01, state02; const char str_lit01[] = "wistream_seeks-1.tst"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/1.cc index ab8d73f7d56..fdd4d23ae7e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ws/char/1.cc @@ -26,8 +26,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const char str_lit01[] = " venice "; const std::string str01(" santa barbara "); std::string str02(str_lit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/1.cc index f842e04f253..89163ffc7e0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ws/wchar_t/1.cc @@ -24,8 +24,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const wchar_t str_lit01[] = L" venice "; const std::wstring str01(L" santa barbara "); std::wstring str02(str_lit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc index 79dc302eda3..cce982fec63 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/cons/2020.cc @@ -28,7 +28,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_istringstream<__gnu_test::pod_ushort> gnu_isstr; try @@ -37,8 +36,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc index 33415593c2b..5793fd94db1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc @@ -33,7 +33,6 @@ active_buffer(std::ios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; const char* strlit01 = "fuck war"; const std::string str00; const std::string str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc index b9f2aeac1a3..fb395f8af6f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc @@ -31,7 +31,6 @@ active_buffer(std::wios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; const wchar_t* strlit01 = L"fuck war"; const std::wstring str00; const std::wstring str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/str/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/str/char/1.cc index 763375dc8d8..b2526df9d87 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/str/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/str/char/1.cc @@ -24,7 +24,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::istringstream is01; const std::string str00; const std::string str01 = "123"; diff --git a/libstdc++-v3/testsuite/27_io/basic_istringstream/str/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_istringstream/str/wchar_t/1.cc index 71479429b6b..0530cbb1f44 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istringstream/str/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istringstream/str/wchar_t/1.cc @@ -22,7 +22,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::wistringstream is01; const std::wstring str00; const std::wstring str01 = L"123"; diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/2020.cc index c1392620b65..f8f1147109b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/2020.cc @@ -28,7 +28,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_ofstream<__gnu_test::pod_ushort> gnu_ofstr; try @@ -37,8 +36,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/1.cc index d64a1bab769..169b4e3512b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/1.cc @@ -30,7 +30,6 @@ const char name_02[] = "ofstream_members-1.txt"; // http://gcc.gnu.org/ml/libstdc++/2000-07/msg00004.html void test02() { - bool test __attribute__((unused)) = true; const int more_than_max_open_files = 8200; for(int i = 0; ++i < more_than_max_open_files;) diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc index ba852f70a82..2b9729f3358 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc @@ -31,7 +31,6 @@ const char name_02[] = "ofstream_members-1.txt"; // http://gcc.gnu.org/ml/libstdc++/2000-06/msg00136.html void test01() { - bool test __attribute__((unused)) = true; std::ofstream ofs1; ofs1.close(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc index d89dc265da9..651f71d858d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc @@ -36,7 +36,6 @@ active_buffer(std::ios& stream) // libstdc++/2832 void test03() { - bool test __attribute__((unused)) = true; const char* strlit01 = "fuck war"; const std::string str00; const std::string str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/2020.cc index bf21113f302..a5d5e1adee9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/2020.cc @@ -28,7 +28,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_ostream<__gnu_test::pod_ushort> gnu_ostr; try @@ -37,8 +36,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/9827.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/9827.cc index 7eb7064d283..2802043f27b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/9827.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/char/9827.cc @@ -29,7 +29,6 @@ class Buf : public std::streambuf void test01() { using namespace std; - bool test __attribute__((unused)) = true; Buf buf; ostream stream(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc index cdc0a9a5ca6..42e4baa648c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc @@ -27,7 +27,6 @@ class Buf : public std::wstreambuf void test01() { using namespace std; - bool test __attribute__((unused)) = true; Buf buf; wostream stream(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/endl/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/endl/char/1.cc index d163c5fba09..ec6fe5dc372 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/endl/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/endl/char/1.cc @@ -25,8 +25,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const std::string str01(" santa barbara "); std::string str04; std::string str05; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/endl/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/endl/wchar_t/1.cc index f560f2b1744..d8eb12b8271 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/endl/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/endl/wchar_t/1.cc @@ -23,8 +23,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const std::wstring str01(L" santa barbara "); std::wstring str04; std::wstring str05; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/1.cc index 5d39483d897..94c5f1277a6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/1.cc @@ -25,8 +25,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const std::string str01(" santa barbara "); std::string str04; std::string str05; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/2.cc index 4348ba09126..e7029d7be87 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/char/2.cc @@ -30,7 +30,6 @@ void test02() using namespace std; typedef ostringstream::int_type int_type; - bool test __attribute__((unused)) = true; ostringstream osst_01; const string str_00("herbie_hancock"); int_type len1 = str_00.size(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/1.cc index 590e806c463..5675042fb13 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/1.cc @@ -23,8 +23,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const std::wstring str01(L" santa barbara "); std::wstring str04; std::wstring str05; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/2.cc index f4605a17735..1c4101812ba 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/ends/wchar_t/2.cc @@ -28,7 +28,6 @@ void test02() using namespace std; typedef wostringstream::int_type int_type; - bool test __attribute__((unused)) = true; wostringstream osst_01; const wstring str_00(L"herbie_hancock"); int_type len1 = str_00.size(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/char/9561.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/char/9561.cc index 70d6f523644..4543ab75ebc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/char/9561.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/char/9561.cc @@ -37,7 +37,6 @@ struct buf: std::streambuf void test01() { using namespace std; - bool test __attribute__((unused)) = true; buf b; std::ostream strm (&b); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc index bf863103d9b..08796a56f9d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc @@ -35,7 +35,6 @@ struct buf: std::wstreambuf void test01() { using namespace std; - bool test __attribute__((unused)) = true; buf b; std::wostream strm(&b); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/1.cc index 776bf3d44fd..72913ba6e1c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/1.cc @@ -25,8 +25,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const std::string str01(" santa barbara "); std::string str04; std::string str05; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc index c7b8e4db717..fee1f03b15c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/2.cc @@ -29,8 +29,6 @@ void test02() { - bool test __attribute__((unused)) = true; - __gnu_test::sync_streambuf buf; std::ostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc index d75bee0ad40..96bd5aebc7d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; ostream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/1.cc index 75cb4785112..2816bd75383 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/1.cc @@ -23,8 +23,6 @@ void test01(void) { - bool test __attribute__((unused)) = true; - const std::wstring str01(L" santa barbara "); std::wstring str04; std::wstring str05; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc index a8535e9309c..496fb612012 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/2.cc @@ -27,8 +27,6 @@ void test02() { - bool test __attribute__((unused)) = true; - __gnu_test::sync_wstreambuf buf; std::wostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/exceptions_badbit_throw.cc index 2b022924660..4f5985893f6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/flush/wchar_t/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wostream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc index 72b978d97ce..2098b39b768 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc @@ -142,7 +142,6 @@ void apply_formatting(const _TestCase & tc, basic_ostream<_CharT> & os) void test01() { - bool test __attribute__((unused)) = true; for (std::size_t j = 0; j template -bool +void test03_check(T n) { using namespace std; - bool test __attribute__((unused)) = true; stringbuf strbuf; ostream o(&strbuf); @@ -44,8 +43,6 @@ test03_check(T n) o << oct << n << ' ' << hex << n; VERIFY ( strbuf.str() == expect ); - - return test; } void diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc index 656489b65de..3e44d87da9d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc @@ -27,7 +27,6 @@ int test04() { using namespace std; - bool test __attribute__((unused)) = true; stringbuf strbuf1, strbuf2; ostream o1(&strbuf1), o2(&strbuf2); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc index a8d528e488e..117c5513712 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc @@ -29,7 +29,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; // make sure we can output a very long float long double val = numeric_limits::max(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc index e4670f15063..ee8c973d485 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc @@ -28,7 +28,6 @@ void test05() { using namespace std; - bool test __attribute__((unused)) = true; double pi = 3.14159265358979323846; ostringstream ostr; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc index 1ddf9dcf713..7acfc3cebc9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc @@ -31,7 +31,6 @@ void test06() { using namespace std; - bool test __attribute__((unused)) = true; int prec = numeric_limits::digits10 + 2; double oval = numeric_limits::min(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc index 2291de159c6..e15b74125f1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; stringstream ostr1, ostr2, ostr3, ostr4; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc index 771cf3d4d6e..48c20b408a4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc @@ -29,7 +29,6 @@ struct buf: std::streambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::ostream os(&b); os.exceptions(std::ios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc index 5ef82da70c0..4bd27e13b33 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc @@ -27,7 +27,6 @@ template void test_badbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_put_char); ostringstream stream("jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc index b39e978bca7..535c5d4d9a7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc @@ -25,7 +25,6 @@ template void test_failbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_put_char); ostringstream stream("jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc index 7ad69f658ae..f9172b90f45 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc @@ -23,7 +23,6 @@ #include #include -bool test __attribute__((unused)) = true; using __gnu_test::pod_ushort; namespace std diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc index 4c986532708..d8b25db9723 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc @@ -143,7 +143,6 @@ void apply_formatting(const _TestCase & tc, basic_ostream<_CharT> & os) void test01() { - bool test __attribute__((unused)) = true; for (std::size_t j = 0; j template -bool +void test03_check(T n) { using namespace std; - bool test __attribute__((unused)) = true; wstringbuf strbuf; wostream o(&strbuf); @@ -41,8 +40,6 @@ test03_check(T n) o << oct << n << L' ' << hex << n; VERIFY ( strbuf.str() == expect ); - - return test; } void diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc index 0c1db6a26d4..76be3836c3e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc @@ -24,7 +24,6 @@ int test04() { using namespace std; - bool test __attribute__((unused)) = true; wstringbuf strbuf1, strbuf2; wostream o1(&strbuf1), o2(&strbuf2); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc index cb16e5845f5..54317ddfa71 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc @@ -28,7 +28,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; // make sure we can output a very long float long double val = numeric_limits::max(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc index 9bdab94fe2f..f1eae418e07 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc @@ -25,7 +25,6 @@ void test05() { using namespace std; - bool test __attribute__((unused)) = true; double pi = 3.14159265358979323846; wostringstream ostr; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc index d256899ca86..6b23bc6ea4b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc @@ -28,7 +28,6 @@ void test06() { using namespace std; - bool test __attribute__((unused)) = true; int prec = numeric_limits::digits10 + 2; double oval = numeric_limits::min(); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc index 90ec9996827..e9ca6c5d265 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wstringstream ostr1, ostr2, ostr3, ostr4; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/9555-oa.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/9555-oa.cc index 540c06590f1..066658b2e06 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/9555-oa.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/9555-oa.cc @@ -29,7 +29,6 @@ struct buf: std::wstreambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::wostream os(&b); os.exceptions(std::wios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_badbit_throw.cc index 6a5b903a566..608fece3b34 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_badbit_throw.cc @@ -25,7 +25,6 @@ template void test_badbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_put_wchar_t); wostringstream stream(L"jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_failbit_throw.cc index 4ce4a1e6c2c..7c7719d8507 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/exceptions_failbit_throw.cc @@ -25,7 +25,6 @@ template void test_failbit() { using namespace std; - bool test __attribute__((unused)) = true; locale loc(locale::classic(), new __gnu_test::fail_num_put_wchar_t); wostringstream stream(L"jaylib - champion sound"); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc index bbc75737a8b..782b6677e55 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc @@ -28,8 +28,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::ostringstream oss_01; oss_01.width(-60); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc index a59622ed9fe..c87714cea33 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc @@ -28,8 +28,6 @@ void test02() { - bool test __attribute__((unused)) = true; - std::ostringstream oss_01; oss_01.width(-60); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc index 40b9139ffd7..0d65873fd6d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc @@ -28,8 +28,6 @@ void test03() { - bool test __attribute__((unused)) = true; - std::ostringstream oss_01; oss_01.width(-60); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/2.cc index ce9526e471a..c35bb5c9a62 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/2.cc @@ -29,7 +29,6 @@ void test02(void) { - bool test __attribute__((unused)) = true; std::string tmp; std::string str01 = ""; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc index a0447c0582a..43ba92c244c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc @@ -33,7 +33,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; ostringstream oss_01; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc index 59abec711e2..ea83586f9e0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc @@ -33,7 +33,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; ostringstream oss_01; const string str_01(50, 'a'); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/3.cc index efedea49f74..aac04cba3c4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/3.cc @@ -28,7 +28,6 @@ // right void test03(void) { - bool test __attribute__((unused)) = true; std::string tmp; std::string str01 = ""; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/4.cc index 37c7fa4f596..4805c4737e3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/4.cc @@ -28,7 +28,6 @@ void test04() { - bool test __attribute__((unused)) = true; std::string str_01; std::string str_tmp; const int i_max=250; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/5.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/5.cc index aa8a2a7022b..4683855fe52 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/5.cc @@ -28,7 +28,6 @@ void test05() { - bool test __attribute__((unused)) = true; std::string str05, str10; typedef std::ostream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/6.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/6.cc index fae64559ba7..070c3f52ec3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/6.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/6.cc @@ -28,7 +28,6 @@ // http://gcc.gnu.org/ml/libstdc++/2000-q1/msg00326.html void test06() { - bool test __attribute__((unused)) = true; const char carray01[] = "mos def & talib kweli are black star"; // normal diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/8.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/8.cc index 8bc0b777f7f..09716b4b637 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/8.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/8.cc @@ -26,7 +26,6 @@ void test08() { - bool test __attribute__((unused)) = true; char* pt = 0; // 1 diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc index f5dd0c9d973..fd6db05c38a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc @@ -29,7 +29,6 @@ struct buf: std::streambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::ostream os(&b); os.exceptions(std::ios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc index dbce3c75ae0..a57913bcaa2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-od.cc @@ -28,8 +28,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::wostringstream oss_01; oss_01.width(-60); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc index c61dff71b38..49094cb4eb6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-oe.cc @@ -28,8 +28,6 @@ void test02() { - bool test __attribute__((unused)) = true; - std::wostringstream oss_01; oss_01.width(-60); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc index 5501745de6f..15a194c42d1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/11095-of.cc @@ -28,8 +28,6 @@ void test03() { - bool test __attribute__((unused)) = true; - std::wostringstream oss_01; oss_01.width(-60); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc index a36a55ecea6..91bdf76abcd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc @@ -27,7 +27,6 @@ void test02(void) { - bool test __attribute__((unused)) = true; std::wstring tmp; std::wstring str01 = L""; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-1.cc index 90ace4d993f..2b0e928f9c8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-1.cc @@ -33,7 +33,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wostringstream oss_01; const string str_01(MAX_SIZE, 'a'); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-2.cc index 0f7976a309f..171be122ad3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-2.cc @@ -33,7 +33,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wostringstream oss_01; const string str_01(50, 'a'); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc index 39c552ad5a9..6853df124a8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc @@ -33,7 +33,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wostringstream oss_01; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc index 3e9404ab2cf..7982afab6ce 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc @@ -33,7 +33,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wostringstream oss_01; const wstring str_01(50, L'a'); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc index d84fdf490a4..0ae1d670f9e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc @@ -26,7 +26,6 @@ // right void test03(void) { - bool test __attribute__((unused)) = true; std::wstring tmp; std::wstring str01 = L""; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc index 9e5974e87da..811ec293f26 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc @@ -28,7 +28,6 @@ void test04() { - bool test __attribute__((unused)) = true; std::wstring str_01; std::wstring str_tmp; const int i_max=250; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc index 845a2714a6b..003d6ec4ee0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc @@ -26,7 +26,6 @@ void test05() { - bool test __attribute__((unused)) = true; std::wstring str05, str10; typedef std::wostream::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc index 5f7c06bf372..74d99add12f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc @@ -26,7 +26,6 @@ // http://gcc.gnu.org/ml/libstdc++/2000-q1/msg00326.html void test06() { - bool test __attribute__((unused)) = true; const wchar_t carray01[] = L"mos def & talib kweli are black star"; // normal diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc index 5b338372fa7..5c60ac92819 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc @@ -51,7 +51,6 @@ protected: void test07() { using namespace std; - bool test __attribute__((unused)) = true; const char* buffer = "SFPL 5th floor, outside carrol, the Asian side"; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc index 82cef340fd8..72b0211b9cc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc @@ -26,7 +26,6 @@ void test08() { - bool test __attribute__((unused)) = true; char* pt = 0; // 2 diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/9555-oc.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/9555-oc.cc index 6ab2c89e2b4..6f68aaebfa5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/9555-oc.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/9555-oc.cc @@ -29,7 +29,6 @@ struct buf: std::wstreambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::wostream os(&b); os.exceptions(std::wios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc index 4a7906ae447..413deb66464 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc @@ -40,7 +40,6 @@ void test02() { typedef std::ios_base::iostate iostate; - bool test __attribute__((unused)) = true; // basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type* __sb) // filebuf-> NULL diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc index 04125e8e2ae..7dec74f5a08 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/3.cc @@ -28,15 +28,12 @@ void test04() { using namespace std; - bool test __attribute__((unused)) = true; istringstream istr("inside betty carter"); ostringstream ostr; ostr << istr.rdbuf() << endl; if (ostr.rdstate() & ios_base::eofbit) - test = false; - - VERIFY( test ); + VERIFY( false ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc index bbb358ef068..94af46901cd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc @@ -98,8 +98,6 @@ private: void test(const std::string& str, std::streambuf& buf) { - bool test __attribute__((unused)) = true; - std::ostringstream out; std::istream in(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/5.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/5.cc index 11f73e62a63..62d90e682b3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/5.cc @@ -40,8 +40,6 @@ std::ios_base& func3(std::ios_base&) template void test(T& (*f)(T&)) { - bool test __attribute__((unused)) = true; - __gnu_test::sync_streambuf buf; std::ostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc index 94ab4b92248..7aabc3ec4d5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc @@ -47,8 +47,6 @@ private: void test10() { - bool test __attribute__((unused)) = true; - std::stringbuf sbuf("Bad Moon Rising", std::ios::in); Outbuf buf; std::ostream stream(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc index 5e4f3cc5322..d670524e409 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc @@ -86,9 +86,7 @@ public: const char Inbuf_2::buf[] = "Atteivlis"; void test12() -{ - bool test __attribute__((unused)) = true; - +{ Outbuf_2 outbuf2; std::ostream os (&outbuf2); Inbuf_2 inbuf2; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc index 3c48f76285b..76fec738eb6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc @@ -29,7 +29,6 @@ struct buf: std::streambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::ostream os(&b); os.exceptions(std::ios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc index d92f3513bae..99e40ea8c60 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc @@ -28,7 +28,6 @@ void test() { using namespace std; - bool test __attribute__((unused)) = true; char buf[64]; error_code e1; @@ -41,14 +40,14 @@ void test() s1 = ostr.str(); if (ostr.rdstate() & ios_base::eofbit) - test = false; + VERIFY( false ); } - VERIFY( test ); + VERIFY( find(s1.begin(), s1.end(), ':') != s1.end() ); sprintf(buf, "%i", e1.value()); s = buf; - VERIFY( s1.find(s) != string::npos); + VERIFY( s1.find(s) != string::npos ); { ostringstream ostr; @@ -56,14 +55,14 @@ void test() s2 = ostr.str(); if (ostr.rdstate() & ios_base::eofbit) - test = false; + VERIFY( false ); } - VERIFY( test ); + VERIFY( find(s2.begin(), s2.end(), ':') != s2.end() ); sprintf(buf, "%i", e2.value()); s = buf; - VERIFY( s2.find(s) != string::npos); + VERIFY( s2.find(s) != string::npos ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_failbit.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_failbit.cc index 04b4c607d0a..0bc4993f6cb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_failbit.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_failbit.cc @@ -26,7 +26,6 @@ using namespace std; void test5() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bob; ostream stream(&bob); stringbuf sbuf("Foo, bar, qux", ios_base::in); @@ -39,7 +38,6 @@ void test5() void test7() { - bool test __attribute__((unused)) = true; ostringstream stream; __gnu_test::fail_streambuf bib; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_badbit_throw.cc index 1782548d590..7386dfb6c0f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test13() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bob; ostream stream(&bob); stream.exceptions(ios_base::badbit); @@ -45,7 +44,6 @@ void test13() void test15() { - bool test __attribute__((unused)) = true; ostringstream stream; stream.exceptions(ios_base::badbit); __gnu_test::fail_streambuf bib; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_failbit_throw.cc index 55b1d1ac844..c59d4a6c503 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_failbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test9() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bob; ostream stream(&bob); stream.exceptions(ios_base::failbit); @@ -50,7 +49,6 @@ void test9() void test11() { - bool test __attribute__((unused)) = true; ostringstream stream; stream.exceptions(ios_base::failbit); __gnu_test::fail_streambuf bib; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc index 6eac572969f..06f4ad0485c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc @@ -27,7 +27,6 @@ void test1() { using namespace std; - bool test __attribute__((unused)) = true; ostringstream stream; stream << static_cast(0); @@ -37,7 +36,6 @@ void test1() void test3() { using namespace std; - bool test __attribute__((unused)) = true; ostringstream stream; stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc index c629096db1d..acbb27d2f63 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc @@ -35,7 +35,6 @@ void test02() { typedef std::ios_base::iostate iostate; - bool test __attribute__((unused)) = true; // basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type* __sb) // filebuf-> NULL diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc index d4b5da9702f..2da361b9578 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc @@ -25,15 +25,12 @@ void test04() { using namespace std; - bool test __attribute__((unused)) = true; wistringstream istr(L"inside betty carter"); wostringstream ostr; ostr << istr.rdbuf() << endl; if (ostr.rdstate() & ios_base::eofbit) - test = false; - - VERIFY( test ); + VERIFY( false ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc index b47a934bda2..d911ce6995b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc @@ -131,8 +131,6 @@ private: void test(const std::wstring& str, std::wstreambuf& buf) { - bool test __attribute__((unused)) = true; - std::wostringstream out; std::wistream in(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc index 0e20e81699f..1a6ac2e2f05 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc @@ -38,8 +38,6 @@ std::ios_base& func3(std::ios_base&) template void test(T& (*f)(T&)) { - bool test __attribute__((unused)) = true; - __gnu_test::sync_wstreambuf buf; std::wostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9318-out.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9318-out.cc index 8a1d5d3c5a4..72bcfdc6a78 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9318-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9318-out.cc @@ -46,8 +46,6 @@ private: void test10() { - bool test __attribute__((unused)) = true; - std::wstringbuf sbuf(L"Bad Moon Rising", std::wios::in); Outbuf buf; std::wostream stream(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9424-out.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9424-out.cc index 4229f86f25c..acdcb1e913e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9424-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9424-out.cc @@ -87,8 +87,6 @@ const wchar_t Inbuf_2::buf[] = L"Atteivlis"; void test12() { - bool test __attribute__((unused)) = true; - Outbuf_2 outbuf2; std::wostream os (&outbuf2); Inbuf_2 inbuf2; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9555-oo.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9555-oo.cc index 9a725650f72..f0737377ff3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9555-oo.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/9555-oo.cc @@ -29,7 +29,6 @@ struct buf: std::wstreambuf template void testthrow(T arg) { - bool test __attribute__((unused)) = true; buf b; std::wostream os(&b); os.exceptions(std::wios::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc index 419fff7c87c..bb3c1a381dc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc @@ -29,7 +29,6 @@ void test() { using namespace std; - bool test __attribute__((unused)) = true; wchar_t buf[64]; error_code e1; @@ -42,14 +41,14 @@ void test() s1 = ostr.str(); if (ostr.rdstate() & ios_base::eofbit) - test = false; + VERIFY( false ); } - VERIFY( test ); + VERIFY( find(s1.begin(), s1.end(), L':') != s1.end() ); swprintf(buf, 64, L"%i", e1.value()); s = buf; - VERIFY( s1.find(s) != string::npos); + VERIFY( s1.find(s) != string::npos ); { wostringstream ostr; @@ -57,14 +56,14 @@ void test() s2 = ostr.str(); if (ostr.rdstate() & ios_base::eofbit) - test = false; + VERIFY( false ); } - VERIFY( test ); + VERIFY( find(s2.begin(), s2.end(), L':') != s2.end() ); swprintf(buf, 64, L"%i", e2.value()); s = buf; - VERIFY( s2.find(s) != string::npos); + VERIFY( s2.find(s) != string::npos ); } int diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_failbit.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_failbit.cc index 69fc5a3b80c..a8dbeb30c3b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_failbit.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_failbit.cc @@ -26,7 +26,6 @@ using namespace std; void test5() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bob; wostream stream(&bob); wstringbuf sbuf(L"Foo, bar, qux", ios_base::in); @@ -39,7 +38,6 @@ void test5() void test7() { - bool test __attribute__((unused)) = true; wostringstream stream; __gnu_test::fail_wstreambuf bib; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_badbit_throw.cc index 39a7b94514b..dc4a1b77edf 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test13() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bob; wostream stream(&bob); stream.exceptions(ios_base::badbit); @@ -45,7 +44,6 @@ void test13() void test15() { - bool test __attribute__((unused)) = true; wostringstream stream; stream.exceptions(ios_base::badbit); __gnu_test::fail_wstreambuf bib; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_failbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_failbit_throw.cc index 4e61dca17ff..9bf8078ce14 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_failbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_failbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test9() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bob; wostream stream(&bob); stream.exceptions(ios_base::failbit); @@ -50,7 +49,6 @@ void test9() void test11() { - bool test __attribute__((unused)) = true; wostringstream stream; stream.exceptions(ios_base::failbit); __gnu_test::fail_wstreambuf bib; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_null.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_null.cc index 1de18ede7f3..ebe43078429 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_null.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_null.cc @@ -27,7 +27,6 @@ void test1() { using namespace std; - bool test __attribute__((unused)) = true; wostringstream stream; stream << static_cast(0); @@ -37,7 +36,6 @@ void test1() void test3() { using namespace std; - bool test __attribute__((unused)) = true; wostringstream stream; stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/put/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/put/char/1.cc index 09a9994175e..bf599b1f581 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/put/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/put/char/1.cc @@ -40,8 +40,6 @@ protected: void test01() { - bool test __attribute__((unused)) = true; - Buf buf; std::ostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/put/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/put/wchar_t/1.cc index 553f3d9fe62..1694c27a9c2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/put/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/put/wchar_t/1.cc @@ -38,8 +38,6 @@ protected: void test01() { - bool test __attribute__((unused)) = true; - Buf buf; std::wostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc index bfa293ca607..c846e365cba 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc @@ -34,8 +34,6 @@ const int times = 10; void write_rewind(std::iostream& stream) { - bool test __attribute__((unused)) = true; - for (int j = 0; j < times; j++) { std::streampos begin = stream.tellp(); @@ -50,8 +48,6 @@ void write_rewind(std::iostream& stream) void check_contents(std::iostream& stream) { - bool test __attribute__((unused)) = true; - stream.clear(); stream.seekg(0, std::ios::beg); int i = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc index a56b821089f..0c65dd7560b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc @@ -29,8 +29,6 @@ const int times = 10; void write_rewind(std::iostream& stream) { - bool test __attribute__((unused)) = true; - for (int j = 0; j < times; j++) { std::streampos begin = stream.tellp(); @@ -45,8 +43,6 @@ void write_rewind(std::iostream& stream) void check_contents(std::iostream& stream) { - bool test __attribute__((unused)) = true; - stream.clear(); stream.seekg(0, std::ios::beg); int i = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc index 0e912ee00a5..e6d89a3d727 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/exceptions_badbit_throw.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; ostream stream(&bib); @@ -54,7 +53,6 @@ void test01() void test02() { using namespace std; - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; ostream stream(&bib); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc index 55daea666e8..c3df3306d78 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc @@ -32,8 +32,6 @@ const int times = 10; void write_rewind(std::wiostream& stream) { - bool test __attribute__((unused)) = true; - for (int j = 0; j < times; j++) { std::streampos begin = stream.tellp(); @@ -48,8 +46,6 @@ void write_rewind(std::wiostream& stream) void check_contents(std::wiostream& stream) { - bool test __attribute__((unused)) = true; - stream.clear(); stream.seekg(0, std::wios::beg); int i = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc index 634073ba672..faa4262cc18 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc @@ -27,8 +27,6 @@ const int times = 10; void write_rewind(std::wiostream& stream) { - bool test __attribute__((unused)) = true; - for (int j = 0; j < times; j++) { std::streampos begin = stream.tellp(); @@ -43,8 +41,6 @@ void write_rewind(std::wiostream& stream) void check_contents(std::wiostream& stream) { - bool test __attribute__((unused)) = true; - stream.clear(); stream.seekg(0, std::wios::beg); int i = 0; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc index 9320be8a7bc..da6dd513a3a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/wchar_t/exceptions_badbit_throw.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wostream stream(&bib); @@ -54,8 +53,7 @@ void test01() void test02() { using namespace std; - bool test __attribute__((unused)) = true; - + __gnu_test::fail_wstreambuf bib; wostream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc index 96839b042db..46b3a8258c5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/1.cc @@ -28,8 +28,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::stringbuf strbuf01; std::ostream strm1(&strbuf01); const std::ostream::sentry sentry1(strm1); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc index c11213c39c0..af078a8e6c3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/char/2.cc @@ -43,8 +43,6 @@ struct buf : std::streambuf void test02() { - bool test __attribute__((unused)) = true; - buf b(0); std::ostream strm(&b); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/pod/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/pod/1.cc index 173115988ff..602ea7644e3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/pod/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/pod/1.cc @@ -35,9 +35,6 @@ void test01() typedef basic_stringbuf stringbuf_type; typedef basic_ostream ostream_type; - bool test __attribute__((unused)) = true; - - const string_type str01; stringbuf_type* strbuf01 = 0; stringbuf_type strbuf02(str01); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc index 0982fd59ef8..81f1052f36c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc @@ -26,8 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::wstringbuf strbuf01; std::wostream strm1(&strbuf01); const std::wostream::sentry sentry1(strm1); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc index 5554f740d5e..1d6f6d3b702 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc @@ -41,8 +41,6 @@ struct buf : std::wstreambuf void test02() { - bool test __attribute__((unused)) = true; - buf b(0); std::wostream strm(&b); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc index 8f659165e69..105cc9401ad 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc @@ -32,7 +32,6 @@ void test01() typedef ios::off_type off_type; typedef ios::pos_type pos_type; - bool test __attribute__((unused)) = true; const char str_lit01[] = "ostream_seeks-1.txt"; // out diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/2.cc index 505c1738ce0..e3b3dcd5cb0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/2.cc @@ -27,7 +27,6 @@ void test01() using namespace std; typedef std::stringbuf::pos_type pos_type; typedef std::stringbuf::off_type off_type; - bool test __attribute__((unused)) = true; // tellp ostringstream ost; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc index 13628e9102c..39162c96c8a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_streambuf bib; ostream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc index 4d26fef34fd..a9b8240ac0f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc @@ -30,7 +30,6 @@ void test01() typedef wios::off_type off_type; typedef wios::pos_type pos_type; - bool test __attribute__((unused)) = true; const char str_lit01[] = "wostream_seeks-1.txt"; // out diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc index 4efdb96c81a..5d4c5bf5ab1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc @@ -25,7 +25,6 @@ void test01() using namespace std; typedef std::wstringbuf::pos_type pos_type; typedef std::wstringbuf::off_type off_type; - bool test __attribute__((unused)) = true; // tellp wostringstream ost; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc index a68af1d523c..7b9efd8a7f7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/wchar_t/exceptions_badbit_throw.cc @@ -26,7 +26,6 @@ using namespace std; void test01() { - bool test __attribute__((unused)) = true; __gnu_test::fail_wstreambuf bib; wostream stream(&bib); stream.exceptions(ios_base::badbit); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/write/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/write/char/1.cc index ac856e6b55a..c41e37af7a2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/write/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/write/char/1.cc @@ -41,8 +41,6 @@ protected: void test01() { - bool test __attribute__((unused)) = true; - Buf buf; std::ostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/write/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/write/wchar_t/1.cc index 06789ccbff9..bc7fc97adb4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/write/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/write/wchar_t/1.cc @@ -39,8 +39,6 @@ protected: void test01() { - bool test __attribute__((unused)) = true; - Buf buf; std::wostream os(&buf); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc index cbda4aecd51..216785eeed5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/2020.cc @@ -28,7 +28,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_ostringstream<__gnu_test::pod_ushort> gnu_osstr; try @@ -37,8 +36,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/3.cc index 1c6ef3da738..c3ac128d971 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/char/3.cc @@ -26,14 +26,12 @@ void test03() { - bool test __attribute__((unused)) = false; - // Empty string sanity check. std::string str01; std::string::iterator __i_start = str01.begin(); std::string::iterator __i_end = str01.end(); std::string::size_type len = str01.size(); - test = __i_start == __i_end; + VERIFY( __i_start == __i_end ); VERIFY( len == 0 ); // Full string sanity check. diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc index 86d30762636..af82b4ad983 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc @@ -24,14 +24,12 @@ void test03() { - bool test __attribute__((unused)) = false; - // Empty string sanity check. std::wstring str01; std::wstring::iterator __i_start = str01.begin(); std::wstring::iterator __i_end = str01.end(); std::wstring::size_type len = str01.size(); - test = __i_start == __i_end; + VERIFY( __i_start == __i_end ); VERIFY( len == 0 ); // Full string sanity check. diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc index 9c9ac35af41..cf78db50ca4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc @@ -33,7 +33,6 @@ active_buffer(std::ios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; const char* strlit01 = "fuck war"; const std::string str00; const std::string str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc index 7a73bc2abf4..8f0ac4d5976 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc @@ -31,7 +31,6 @@ active_buffer(std::wios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; const wchar_t* strlit01 = L"fuck war"; const std::wstring str00; const std::wstring str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/1.cc index 8b8fda64882..ac8756d96e5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/1.cc @@ -24,7 +24,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::ostringstream os01; const std::string str00; const std::string str01 = "123"; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc index 5a55e4e1365..4273ac2c6d8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/char/2.cc @@ -32,7 +32,6 @@ public: void test04() { - bool test __attribute__((unused)) = true; derived_oss yy; yy << "buena vista social club\n"; VERIFY( yy.str() == std::string("buena vista social club\n") ); diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc index 4000c73adb2..eb176ae1adc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc @@ -22,7 +22,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::wostringstream os01; const std::wstring str00; const std::wstring str01 = L"123"; diff --git a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc index 2d24db895f9..ee66d63d66e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc @@ -30,7 +30,6 @@ public: void test04() { - bool test __attribute__((unused)) = true; derived_oss yy; yy << L"buena vista social club\n"; VERIFY( yy.str() == std::wstring(L"buena vista social club\n") ); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/2020.cc index c69a6377f31..b5e97cdf974 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/2020.cc @@ -31,14 +31,11 @@ class gnu_sbuf: public std::basic_streambuf<__gnu_test::pod_ushort> void test07() { - bool test __attribute__((unused)) = true; - try { gnu_sbuf obj; } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc index b0126ba1993..580e71f4b54 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/57394.cc @@ -47,8 +47,6 @@ struct streambuf : std::streambuf void streambuf::test_copy() const { - bool test __attribute__((unused)) = true; - streambuf a(*this); VERIFY( eback() == a.eback() ); @@ -62,8 +60,6 @@ void streambuf::test_copy() const void streambuf::test_assign() const { - bool test __attribute__((unused)) = true; - streambuf a; a = *this; @@ -78,8 +74,6 @@ void streambuf::test_assign() const void streambuf::test_swap() const { - bool test __attribute__((unused)) = true; - streambuf a(*this); streambuf b; const streambuf c(b); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/char/1.cc index f2124622592..02994558978 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/char/1.cc @@ -26,7 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; __gnu_test::constraint_streambuf buf01; // 27.5.2.1 basic_streambuf ctors diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc index f62f28218e9..6e597d72f90 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc @@ -26,7 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; __gnu_test::constraint_wstreambuf buf01; // 27.5.2.1 basic_streambuf ctors diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc index efb7a38862f..1a735ce556a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc @@ -33,8 +33,6 @@ protected: // libstdc++/13007 void test01() { - bool test __attribute__((unused)) = true; - Buf1 buf; std::locale loc(std::locale("is_IS.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc index 5aba6693f38..68bf14c056f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc @@ -43,8 +43,6 @@ protected: // libstdc++/13007 void test02() { - bool test __attribute__((unused)) = true; - Buf2 buf; std::locale loc(std::locale(ISO_8859(1,en_US))); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/9322.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/9322.cc index 880fdefa2ee..43155f9aee6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/9322.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/char/9322.cc @@ -39,7 +39,6 @@ public: void test08() { using std::locale; - bool test __attribute__((unused)) = true; locale loc; testbuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc index d6c77ebbd00..4359085fe4e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc @@ -33,8 +33,6 @@ protected: // libstdc++/13007 void test01() { - bool test __attribute__((unused)) = true; - Buf1 buf; std::locale loc(std::locale("is_IS.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc index 8f72cb29b37..6727778ecb6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc @@ -43,8 +43,6 @@ protected: // libstdc++/13007 void test02() { - bool test __attribute__((unused)) = true; - Buf2 buf; std::locale loc(std::locale(ISO_8859(1,en_US))); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc index 51eb3c6b9fe..83982b028eb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc @@ -39,7 +39,6 @@ public: void test08() { using std::locale; - bool test __attribute__((unused)) = true; locale loc; testbuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/char/1.cc index 2b0e8f2ad1d..a21ef93ea6e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/char/1.cc @@ -37,7 +37,6 @@ void test05() typedef streambuf_type::off_type off_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; std::streamoff strmof_1; testbuf sb01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc index 64cf9ceb301..f58fdae284c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc @@ -37,7 +37,6 @@ void test05() typedef streambuf_type::off_type off_type; typedef size_t size_type; - bool test __attribute__((unused)) = true; std::streamoff strmof_1; testbuf sb01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc index 71f1577a0ef..83eefbb1c51 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/1.cc @@ -35,17 +35,15 @@ public: testbuf(): std::streambuf() { } - bool + void check_pointers() { - bool test __attribute__((unused)) = true; VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -84,7 +82,6 @@ void test01() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; char lit01[52]; std::strcpy(lit01, "chicago underground trio/possible cube on delmark"); testbuf buf01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/2.cc index c08b804bdc5..04e447f838c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/2.cc @@ -52,7 +52,6 @@ template void test03() { - bool test __attribute__((unused)) = true; const std::string control01("11111"); std::string test01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc index 5e99f62657f..e769836548f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/char/3599.cc @@ -41,7 +41,6 @@ protected: void test07() { - bool test __attribute__((unused)) = true; testbuf ob; std::ostream out(&ob); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc index 0feb4e19977..bbd97a337c5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc @@ -35,17 +35,15 @@ public: testbuf(): std::wstreambuf() { } - bool + void check_pointers() - { - bool test __attribute__((unused)) = true; + { VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -84,7 +82,6 @@ void test01() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; wchar_t lit01[52]; std::wcscpy(lit01, L"chicago underground trio/possible cube on delmark"); testbuf buf01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc index 672a3939d66..a9ebffa1254 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc @@ -52,7 +52,6 @@ template void test03() { - bool test __attribute__((unused)) = true; const std::wstring control01(L"11111"); std::wstring test01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc index fd5bff57b46..ce35a613aee 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc @@ -41,7 +41,6 @@ protected: void test07() { - bool test __attribute__((unused)) = true; testbuf ob; std::wostream out(&ob); diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc index b59f50dd081..34defa9aeb2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/char/1.cc @@ -35,17 +35,15 @@ public: testbuf(): std::streambuf() { } - bool + void check_pointers() - { - bool test __attribute__((unused)) = true; + { VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -84,7 +82,6 @@ void test01() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; char lit01[52]; std::strcpy(lit01, "chicago underground trio/possible cube on delmark"); testbuf buf01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc index 83b9fe7f9f7..dc243544a0e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc @@ -35,17 +35,15 @@ public: testbuf(): std::wstreambuf() { } - bool + void check_pointers() { - bool test __attribute__((unused)) = true; VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -84,7 +82,6 @@ void test01() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; wchar_t lit01[52]; std::wcscpy(lit01, L"chicago underground trio/possible cube on delmark"); testbuf buf01; diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc index 24242b54b83..37b4faec5eb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/char/1.cc @@ -35,17 +35,15 @@ public: testbuf(): std::streambuf() { } - bool + void check_pointers() - { - bool test __attribute__((unused)) = true; + { VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -84,8 +82,6 @@ void test02() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; - char lit01[] = "chicago underground trio/possible cube on delmark"; size_t i01 = traits_type::length(lit01); @@ -95,7 +91,7 @@ void test02() // default ctor initializes // - all pointer members to null pointers // - locale to current global locale - VERIFY( buf01.check_pointers() ); + buf01.check_pointers(); VERIFY( buf01.getloc() == std::locale() ); // 27.5.2.2.5 Put area diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc index b4e5d167768..a75f613cd54 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc @@ -35,17 +35,15 @@ public: testbuf(): std::wstreambuf() { } - bool + void check_pointers() - { - bool test __attribute__((unused)) = true; + { VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -84,8 +82,6 @@ void test02() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; - wchar_t lit01[] = L"chicago underground trio/possible cube on delmark"; size_t i01 = traits_type::length(lit01); @@ -95,7 +91,7 @@ void test02() // default ctor initializes // - all pointer members to null pointers // - locale to current global locale - VERIFY( buf01.check_pointers() ); + buf01.check_pointers(); VERIFY( buf01.getloc() == std::locale() ); // 27.5.2.2.5 Put area diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc index fcf433c2984..9ff6aa19062 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc @@ -29,7 +29,6 @@ class MyTraits : public std::char_traits public: static bool eq(char c1, char c2) { - bool test __attribute__((unused)) = true; VERIFY( c1 != 'X' ); VERIFY( c2 != 'X' ); return std::char_traits::eq(c1, c2); @@ -52,8 +51,6 @@ public: // libstdc++/9538 void test08() { - bool test __attribute__((unused)) = true; - MyBuf mb; mb.sputbackc('a'); } diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc index 6a2bf116b6e..e5770fcbabb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc @@ -29,7 +29,6 @@ class MyTraits : public std::char_traits public: static bool eq(wchar_t c1, wchar_t c2) { - bool test __attribute__((unused)) = true; VERIFY( c1 != L'X' ); VERIFY( c2 != L'X' ); return std::char_traits::eq(c1, c2); @@ -52,8 +51,6 @@ public: // libstdc++/9538 void test08() { - bool test __attribute__((unused)) = true; - MyBuf mb; mb.sputbackc(L'a'); } diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc index f62d0c885f2..cf71df4ca11 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/char/1.cc @@ -35,17 +35,15 @@ public: testbuf(): std::streambuf() { } - bool + void check_pointers() - { - bool test __attribute__((unused)) = true; + { VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -84,7 +82,6 @@ void test01() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; testbuf buf01; // sputn/xsputn diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc index 6df82897119..8dbd72d74fc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc @@ -36,17 +36,15 @@ public: testbuf(): std::wstreambuf() { } - bool + void check_pointers() - { - bool test __attribute__((unused)) = true; + { VERIFY( !this->eback() ); VERIFY( !this->gptr() ); VERIFY( !this->egptr() ); VERIFY( !this->pbase() ); VERIFY( !this->pptr() ); VERIFY( !this->epptr() ); - return test; } int_type @@ -85,7 +83,6 @@ void test01() typedef testbuf::traits_type traits_type; typedef testbuf::int_type int_type; - bool test __attribute__((unused)) = true; testbuf buf01; // sputn/xsputn diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/char/1057.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/char/1057.cc index e0215c1ec32..a5cd3f95200 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/char/1057.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/char/1057.cc @@ -68,7 +68,6 @@ public: // libstdc++/1057 void test04() { - bool test __attribute__((unused)) = true; std::string text = "abcdefghijklmn"; // 01 diff --git a/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc b/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc index bd12ae877be..fba0fe885f7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc +++ b/libstdc++-v3/testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc @@ -68,7 +68,6 @@ public: // libstdc++/1057 void test04() { - bool test __attribute__((unused)) = true; std::wstring text = L"abcdefghijklmn"; // 01 diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc index 9af1404af8a..06f4163278c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/2020.cc @@ -28,15 +28,13 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_stringbuf<__gnu_test::pod_ushort> gnu_ssbuf; try { gnu_ssbuf obj; } catch(std::exception& obj) - { - test = false; - VERIFY( test ); + { + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/char/1.cc index 9412d0feec6..2c3643b5331 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/char/1.cc @@ -26,8 +26,6 @@ // http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html void test01() { - bool test __attribute__((unused)) = true; - __gnu_test::constraint_stringbuf sbuf; VERIFY( sbuf.check_pointers() ); } diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc index 2afae81ee67..6efc1b1fc9c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc @@ -26,8 +26,6 @@ // http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html void test01() { - bool test __attribute__((unused)) = true; - __gnu_test::constraint_wstringbuf sbuf; VERIFY( sbuf.check_pointers() ); } diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/1.cc index 4ff2eb62ead..b58033f5515 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/1.cc @@ -26,8 +26,6 @@ std::stringbuf strb_01(str_01); // test the streambuf/stringbuf locale settings void test02() { - bool test __attribute__((unused)) = true; - std::locale loc_c = std::locale::classic(); loc_c = strb_01.getloc(); strb_01.pubimbue(loc_c); //This should initialize _M_init to true diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/9322.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/9322.cc index cd02d695a47..c92bfd6d62b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/9322.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/char/9322.cc @@ -29,7 +29,6 @@ void test03() { using std::locale; - bool test __attribute__((unused)) = true; locale loc = std::locale::classic(); std::stringbuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc index ec9d9740d5f..f66cff3810a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc @@ -26,8 +26,6 @@ std::wstringbuf strb_01(str_01); // test the streambuf/stringbuf locale settings void test02() { - bool test __attribute__((unused)) = true; - std::locale loc_c = std::locale::classic(); loc_c = strb_01.getloc(); strb_01.pubimbue(loc_c); //This should initialize _M_init to true diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc index 49e1c4a50f2..c60eef1dd06 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc @@ -29,7 +29,6 @@ void test03() { using std::locale; - bool test __attribute__((unused)) = true; locale loc = std::locale::classic(); std::wstringbuf ob; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/char/1.cc index 0732e23fa79..10fb4c409ba 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::streamoff strmof_1(-1), strmof_2; // GET diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc index 511bafd709e..a720b278e04 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::streamoff strmof_1(-1), strmof_2; // GET diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/1.cc index 0ef3a8375af..285eca9eb92 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/1.cc @@ -37,8 +37,6 @@ data(unsigned len) void test01(unsigned iter) { - bool test __attribute__((unused)) = true; - for (unsigned n = 1; n <= iter; n *= 10) { const string str = data(n); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/2.cc index 772f32ae309..934302fee0e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/2.cc @@ -51,7 +51,6 @@ template void test03() { - bool test __attribute__((unused)) = true; const std::string control01("11111"); std::string test01; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/26250.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/26250.cc index 2430a6688ac..f6cc1c31925 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/26250.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/26250.cc @@ -34,8 +34,6 @@ struct pubbuf // libstdc++/26250 void test01() { - bool test __attribute__((unused)) = true; - pubbuf buf; VERIFY( buf.overflow('x') == 'x' ); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/3599.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/3599.cc index dffd4d7fafa..ca08931e14e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/3599.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/3599.cc @@ -39,7 +39,6 @@ protected: void test07() { - bool test __attribute__((unused)) = true; testbuf ob; std::ostream out(&ob); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/9988.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/9988.cc index 67f92e6ead5..b44a679b17b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/9988.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/char/9988.cc @@ -34,7 +34,6 @@ public: void test15() { using namespace std; - bool test __attribute__((unused)) = true; OverBuf sb; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc index 69982306246..2f0afbc34c0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc @@ -43,8 +43,6 @@ data(unsigned len) void test01(unsigned iter) { - bool test __attribute__((unused)) = true; - for (unsigned n = 1; n <= iter; n *= 10) { const wstring str = data(n); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc index babbbbd7e2c..c09e0ddaae7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc @@ -51,7 +51,6 @@ template void test03() { - bool test __attribute__((unused)) = true; const std::wstring control01(L"11111"); std::wstring test01; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc index 8894afb3220..7fc4a164789 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc @@ -34,8 +34,6 @@ struct pubbuf // libstdc++/26250 void test01() { - bool test __attribute__((unused)) = true; - pubbuf buf; VERIFY( buf.overflow(L'x') == L'x' ); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc index 8ac954f5be5..39cc9e3b063 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc @@ -39,7 +39,6 @@ protected: void test07() { - bool test __attribute__((unused)) = true; testbuf ob; std::wostream out(&ob); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc index 2e62c629ad5..beefa8d4baf 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc @@ -34,7 +34,6 @@ public: void test15() { using namespace std; - bool test __attribute__((unused)) = true; OverBuf sb; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc index fd3f613a059..af0eeb1889d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc @@ -35,7 +35,6 @@ public: void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef my_stringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc index 1e7c4d5e9ae..6ed963fed96 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc @@ -37,7 +37,6 @@ public: // mode & ios_base::out is nonzero, ..." void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef my_stringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc index 6521767e833..f358ac3bbcb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc @@ -35,7 +35,6 @@ public: void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef my_stringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc index 318c6df6bc3..efa2894e0ff 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc @@ -37,7 +37,6 @@ public: // mode & ios_base::out is nonzero, ..." void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef my_stringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc index a4a2a4ca238..66783b941df 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc index 79eaea5c1aa..b6345f0e936 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc @@ -27,7 +27,6 @@ void test12() { using namespace std; - bool test __attribute__((unused)) = true; stringbuf sbuf; sbuf.sputn("crazy bees!", 11); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc index fb04f5aa7cb..3c45fa2db1e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc index 7a0d5446e22..9e1b5d0a7ee 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc @@ -27,7 +27,6 @@ void test12() { using namespace std; - bool test __attribute__((unused)) = true; wstringbuf sbuf; sbuf.sputn(L"crazy bees!", 11); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/1.cc index 266306f2cd3..37aa5fa76f5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/1.cc @@ -26,7 +26,6 @@ std::stringbuf strb_01(str_01); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::string str_tmp; std::streamsize strmsz_1, strmsz_2; typedef std::stringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc index ee9f6ed350e..c1349592ff3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc @@ -25,7 +25,6 @@ // libstdc++/10975 void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc index 7f883aa3ab8..2d48ee39df6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc @@ -25,7 +25,6 @@ // libstdc++/16956 void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef stringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/2.cc index ba86e9751dd..d9f370288bb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/char/2.cc @@ -24,7 +24,6 @@ void test02(std::stringbuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc index c197f259242..f4d74f6857b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc @@ -26,7 +26,6 @@ std::wstringbuf strb_01(str_01); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::wstring str_tmp; std::streamsize strmsz_1, strmsz_2; typedef std::wstringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc index 4a319957ae1..e08b0efb4a9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc @@ -25,7 +25,6 @@ // libstdc++/10975 void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef wstreambuf::pos_type pos_type; typedef wstreambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc index 9103752fb8c..a6b4f3141b4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc @@ -25,7 +25,6 @@ // libstdc++/16956 void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef wstringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc index b2d90cd41da..5e20481c96a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc @@ -24,7 +24,6 @@ void test02(std::wstringbuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef wstreambuf::pos_type pos_type; typedef wstreambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/1.cc index 12d6da48219..f35882d84a9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/1.cc @@ -26,7 +26,6 @@ std::stringbuf strb_01(str_01); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::string str_tmp; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/2.cc index 85da8c32cf2..fb483994a2c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/2.cc @@ -24,7 +24,6 @@ void test02(std::stringbuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef streambuf::pos_type pos_type; typedef streambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc index e8291440be5..a53417357b9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc @@ -21,7 +21,6 @@ // libstdc++/29354 void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef stringbuf::pos_type pos_type; typedef stringbuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc index d653a51eb68..fd839cc8792 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/char/3.cc @@ -22,7 +22,6 @@ void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef stringbuf::pos_type pos_type; typedef stringbuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc index 7b512f614dd..f100fef59a9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc @@ -26,7 +26,6 @@ std::wstringbuf strb_01(str_01); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::wstring str_tmp; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::pos_type pos_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc index 2d4ab6d435e..9bfd3a8d96a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc @@ -24,7 +24,6 @@ void test02(std::wstringbuf& in, bool pass) { - bool test __attribute__((unused)) = true; using namespace std; typedef wstreambuf::pos_type pos_type; typedef wstreambuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc index 6018ed26e4d..e5c5e63b407 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc @@ -21,7 +21,6 @@ // libstdc++/29354 void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef stringbuf::pos_type pos_type; typedef stringbuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc index a59c05ff1f9..f715cf474c8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc @@ -22,7 +22,6 @@ void test01() { - bool test __attribute__((unused)) = true; using namespace std; typedef wstringbuf::pos_type pos_type; typedef wstringbuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/1.cc index 98a8c470f45..9796b24a46f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/1.cc @@ -28,7 +28,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::string str_tmp; // PUT diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc index 8af4f6a8cb7..16b8ff6b4fe 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/2.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; char buf[512]; const char* strlit = "how to tell a story and other essays: mark twain"; const size_t strlitsize = std::strlen(strlit); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc index 3dae1bf6c38..185973d663e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/3.cc @@ -27,7 +27,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; char buf[512]; const char* strlit = "how to tell a story and other essays: mark twain"; const size_t strlitsize = std::strlen(strlit); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc index fae77c0c42f..eaf9ed76009 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/char/4.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const unsigned max_size = 1 << 18; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc index e8acad63c24..0ec0d0e0595 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc @@ -28,7 +28,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::wstring str_tmp; // PUT diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc index 27ecf756b62..c0280c97231 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wchar_t buf[512]; const wchar_t* strlit = L"how to tell a story and other essays: mark twain"; const size_t strlitsize = std::wcslen(strlit); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc index 965044e0265..0bc0bd463cc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc @@ -26,7 +26,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; wchar_t buf[512]; const wchar_t* strlit = L"how to tell a story and other essays: mark twain"; const size_t strlitsize = std::wcslen(strlit); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc index baa7c5ce8b4..b3318e88b83 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc @@ -31,7 +31,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const unsigned max_size = MAX_SIZE; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/char/1.cc index 3da736907e0..321d673ee45 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc index a4f6580d831..e60b4940d20 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/char/1.cc index 6a7da05a482..4065b36c419 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::streamsize strmsz_1, strmsz_2; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::traits_type traits_type; @@ -66,7 +65,7 @@ void test04() // approp and returning the number of chars assigned strmsz_1 = strb_01.in_avail(); strmsz_2 = strb_02.in_avail(); - test = strmsz_1 != strmsz_2; + VERIFY( strmsz_1 != strmsz_2 ); VERIFY( strmsz_1 != static_cast(str_01.length()) ); // because now we've moved into string VERIFY( strmsz_2 != static_cast(str_02.length()) ); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc index 11bec77c565..7eaea1ee4c8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::streamsize strmsz_1, strmsz_2; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::traits_type traits_type; @@ -66,7 +65,7 @@ void test04() // approp and returning the number of chars assigned strmsz_1 = strb_01.in_avail(); strmsz_2 = strb_02.in_avail(); - test = strmsz_1 != strmsz_2; + VERIFY( strmsz_1 != strmsz_2 ); VERIFY( strmsz_1 != static_cast(str_01.length()) ); // because now we've moved into string VERIFY( strmsz_2 != static_cast(str_02.length()) ); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/char/1.cc index 8ff6ab4d4e7..3551dbf65b2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc index b48c115f886..fbeeffbdd07 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc index d42bce6d73d..94e0420c148 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::string str_tmp, str_tmp2; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc index 3db3bbbfce2..60b76134533 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc @@ -28,7 +28,6 @@ void test09() { using namespace std; - bool test __attribute__((unused)) = true; stringbuf sbuf; stringbuf::int_type r = sbuf.sputbackc('a'); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc index b49ef725617..aad8054a9c6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::wstring str_tmp, str_tmp2; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc index 3bfdf633b5b..ca91a046e18 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc @@ -28,7 +28,6 @@ void test09() { using namespace std; - bool test __attribute__((unused)) = true; wstringbuf sbuf; wstringbuf::int_type r = sbuf.sputbackc(L'a'); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/1.cc index d27a869eec3..160c329fe4c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc index 260469e3a4c..2bc32fecab1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc @@ -47,8 +47,6 @@ public: // libstdc++/9404 void test04() { - bool test __attribute__((unused)) = true; - bool over_expected; // sputc diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc index 068b9c9a55f..a05b2b09c17 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc index 3dc0182817e..9319b86d29b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc @@ -47,8 +47,6 @@ public: // libstdc++/9404 void test04() { - bool test __attribute__((unused)) = true; - bool over_expected; // sputc diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc index 75023bc2099..04b30a45da6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::string str_tmp; std::streamsize strmsz_1, strmsz_2; typedef std::stringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc index 8bb3080d113..3a32c2d942f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc @@ -47,8 +47,6 @@ public: // libstdc++/9404 void test04() { - bool test __attribute__((unused)) = true; - bool over_expected; Derived_stringbuf dsbuf_01; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc index e3ac4ebe8d4..fa8220146d3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::wstring str_tmp; std::streamsize strmsz_1, strmsz_2; typedef std::wstringbuf::int_type int_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc index c0d39395b3e..5f1b7c8a0a5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc @@ -47,8 +47,6 @@ public: // libstdc++/9404 void test04() { - bool test __attribute__((unused)) = true; - bool over_expected; Derived_stringbuf dsbuf_01; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/1.cc index b0ae99ffec5..20a0ca3099b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/1.cc @@ -30,8 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test member functions void test03() { - bool test __attribute__((unused)) = true; - //stringbuf::str() VERIFY( strb_01.str() == str_01 ); VERIFY( strb_02.str() == str_02 ); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/2.cc index 446ed6596d5..f7bd2aa0700 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/2.cc @@ -25,8 +25,6 @@ // which didn't notice the grow. void test07() { - bool test __attribute__((unused)) = true; - std::stringbuf strb_01; strb_01.sputc('s'); strb_01.pubseekoff(0, std::ios_base::beg); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3.cc index 4f7cdc188cc..95503ebadec 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3.cc @@ -22,8 +22,6 @@ void test06() { - bool test __attribute__((unused)) = true; - std::ostringstream os ("foo", std::ios_base::app); os << "bar"; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3955.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3955.cc index 2893f1fe736..cea95b25fdd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3955.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/char/3955.cc @@ -23,8 +23,6 @@ // libstdc++/3955 -- ios_base::app overwrites from the beginning void test05() { - bool test __attribute__((unused)) = true; - std::ostringstream os ("foo"); os << "bar"; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc index 45e5180db9e..4ccaeecdab0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc @@ -30,8 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test member functions void test03() { - bool test __attribute__((unused)) = true; - // stringbuf::str() VERIFY( strb_01.str() == str_01 ); VERIFY( strb_02.str() == str_02 ); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc index dc788d09b68..6ef88c6f649 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc @@ -25,8 +25,6 @@ // which didn't notice the grow. void test07() { - bool test __attribute__((unused)) = true; - std::wstringbuf strb_01; strb_01.sputc(L's'); strb_01.pubseekoff(0, std::ios_base::beg); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc index 9951baa59a0..24e82272c60 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc @@ -22,8 +22,6 @@ void test06() { - bool test __attribute__((unused)) = true; - std::wostringstream os (L"foo", std::ios_base::app); os << L"bar"; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc index a2cf4ee0fd7..aa0cc6a6d6e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc @@ -23,8 +23,6 @@ // libstdc++/3955 -- ios_base::app overwrites from the beginning void test05() { - bool test __attribute__((unused)) = true; - std::wostringstream os (L"foo"); os << L"bar"; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/char/1.cc index 2a7ab7a1b3a..f5ee11450bd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/char/1.cc @@ -30,7 +30,6 @@ std::stringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::string str_tmp; typedef std::stringbuf::int_type int_type; typedef std::stringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc index 4a18b0467e0..6871588a1c4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc @@ -30,7 +30,6 @@ std::wstringbuf strb_03(str_03, std::ios_base::out); // test overloaded virtual functions void test04() { - bool test __attribute__((unused)) = true; std::wstring str_tmp; typedef std::wstringbuf::int_type int_type; typedef std::wstringbuf::traits_type traits_type; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/char/1057.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/char/1057.cc index 7ed5fc4c9f8..d099b2b3580 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/char/1057.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/char/1057.cc @@ -67,7 +67,6 @@ public: // libstdc++/1057 void test04() { - bool test __attribute__((unused)) = true; std::string text = "abcdefghijklmn"; // 01 diff --git a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc index 3bbd32c87b0..6fcedbfd519 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc @@ -67,7 +67,6 @@ public: // libstdc++/1057 void test04() { - bool test __attribute__((unused)) = true; std::wstring text = L"abcdefghijklmn"; // 01 diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc index 6903bfe04ff..277b33a1da6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/cons/2020.cc @@ -28,7 +28,6 @@ // should be able to use custom char_type, custom traits type void test07() { - bool test __attribute__((unused)) = true; typedef std::basic_stringstream<__gnu_test::pod_ushort> gnu_sstr; try @@ -37,8 +36,7 @@ void test07() } catch(std::exception& obj) { - test = false; - VERIFY( test ); + VERIFY( false ); } } diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc index 925e5c5a086..5c300848394 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc @@ -33,7 +33,6 @@ active_buffer(std::ios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; std::stringbuf sbuf; std::streambuf* pbasebuf0 = &sbuf; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc index 23be4b68f3e..a6c2b9cbc0b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc @@ -31,7 +31,6 @@ active_buffer(std::wios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; std::wstringbuf sbuf; std::wstreambuf* pbasebuf0 = &sbuf; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc index d989a00f1ec..3e31378a5ef 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc @@ -24,7 +24,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::stringstream is01; const std::string str00; const std::string str01 = "123"; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/2.cc index 546506c16f6..9ce8ebd30ec 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/2.cc @@ -33,7 +33,6 @@ active_buffer(std::ios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; const char* strlit01 = "fuck war"; const std::string str00; const std::string str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/3.cc index 95bd12591c3..8d6613f8b27 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/3.cc @@ -25,8 +25,6 @@ void test03() { - bool test __attribute__((unused)) = true; - // // 1: Automatic formatting of a compound string // diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/4.cc index f39253ca17c..ae5cf82ec2d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/4.cc @@ -25,8 +25,6 @@ // libstdc++/8466 void test04() { - bool test __attribute__((unused)) = true; - const char* strlit00 = "orvieto"; const std::string str00 = strlit00; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/1.cc index f51113d4eca..7b0677033a6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/1.cc @@ -22,7 +22,6 @@ void test01() { - bool test __attribute__((unused)) = true; std::wstringstream is01; const std::wstring str00; const std::wstring str01 = L"123"; diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/2.cc index cade4639126..689d054dae7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/2.cc @@ -31,7 +31,6 @@ active_buffer(std::wios& stream) // libstdc++/2832 void test02() { - bool test __attribute__((unused)) = true; const wchar_t* strlit01 = L"fuck war"; const std::wstring str00; const std::wstring str01(strlit01); diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/3.cc index d1eaddc9475..dbc009a555b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/3.cc @@ -23,8 +23,6 @@ void test03() { - bool test __attribute__((unused)) = true; - // // 1: Automatic formatting of a compound string // diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/4.cc index b814876ff2f..9263596facb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/wchar_t/4.cc @@ -23,8 +23,6 @@ // libstdc++/8466 void test04() { - bool test __attribute__((unused)) = true; - const wchar_t* strlit00 = L"orvieto"; const std::wstring str00 = strlit00; diff --git a/libstdc++-v3/testsuite/27_io/fpos/11450.cc b/libstdc++-v3/testsuite/27_io/fpos/11450.cc index 366d6f12205..9d8463d6a6a 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/11450.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/11450.cc @@ -23,8 +23,6 @@ // libstdc++/11450 void test01() { - bool test __attribute__((unused)) = true; - std::fpos p; VERIFY( p.state() == 0 ); p.state(42); diff --git a/libstdc++-v3/testsuite/27_io/fpos/14252.cc b/libstdc++-v3/testsuite/27_io/fpos/14252.cc index 3ce7511c142..f51e3c14d03 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14252.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14252.cc @@ -26,8 +26,6 @@ // libstdc++/14252 void test01() { - bool test __attribute__((unused)) = true; - std::streamoff off01 = 10; std::streamoff off02 = 2; std::streamoff off03 = 2004; diff --git a/libstdc++-v3/testsuite/27_io/fpos/14320-1.cc b/libstdc++-v3/testsuite/27_io/fpos/14320-1.cc index 5b348ec58ca..4a1eadd7d6e 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14320-1.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14320-1.cc @@ -30,7 +30,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef istreambuf_iterator::difference_type Distance; diff --git a/libstdc++-v3/testsuite/27_io/fpos/14320-2.cc b/libstdc++-v3/testsuite/27_io/fpos/14320-2.cc index ee2b8da4014..771ae58649a 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14320-2.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14320-2.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef istreambuf_iterator::difference_type Distance; typedef numeric_limits Limits; diff --git a/libstdc++-v3/testsuite/27_io/fpos/14320-3.cc b/libstdc++-v3/testsuite/27_io/fpos/14320-3.cc index 2cfb4a5c595..7530bf25131 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14320-3.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14320-3.cc @@ -26,7 +26,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef std::istreambuf_iterator::difference_type Distance; Distance d = 2; diff --git a/libstdc++-v3/testsuite/27_io/fpos/14320-4.cc b/libstdc++-v3/testsuite/27_io/fpos/14320-4.cc index 6de0d0db915..82017113ea8 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14320-4.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14320-4.cc @@ -36,7 +36,6 @@ void barney(Fred) void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef istreambuf_iterator::difference_type Distance; diff --git a/libstdc++-v3/testsuite/27_io/fpos/14320-5.cc b/libstdc++-v3/testsuite/27_io/fpos/14320-5.cc index d3d71da8077..5f1388225c4 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14320-5.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14320-5.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; typedef istreambuf_iterator::difference_type Distance; diff --git a/libstdc++-v3/testsuite/27_io/fpos/14775.cc b/libstdc++-v3/testsuite/27_io/fpos/14775.cc index ea0fcd2272a..ef0bfa94db3 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14775.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14775.cc @@ -29,7 +29,6 @@ void test01() { #if defined (_GLIBCXX_USE_LFS) && defined (_GLIBCXX_HAVE_LIMIT_FSIZE) using namespace std; - bool test __attribute__((unused)) = true; typedef filebuf::pos_type pos_type; typedef filebuf::off_type off_type; diff --git a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc index 0eff1f9a658..72030e7481c 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/1.cc @@ -27,8 +27,6 @@ void test01() { - bool test __attribute__((unused)) = true; - typedef std::mbstate_t state_type; state_type state01 = state_type(); state_type state02 = state_type(); @@ -47,8 +45,7 @@ void test01() // place. pos01.state(state02); state01 = pos01.state(); - test = std::memcmp(&state01, &state02, sizeof(state_type)) == 0; - VERIFY( test ); + VERIFY( std::memcmp(&state01, &state02, sizeof(state_type)) == 0 ); } int main() diff --git a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/12065.cc b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/12065.cc index e5d202eac70..12b51d9465c 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/12065.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/12065.cc @@ -24,8 +24,6 @@ // libstdc++/12065 void test01() { - bool test __attribute__((unused)) = true; - std::streampos p(0); const std::streampos q(0); std::streamoff o(0); diff --git a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/2.cc b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/2.cc index ce312b8ab96..720914cc0f4 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/2.cc @@ -27,8 +27,6 @@ // 27.4.3.2 fpos requirements/invariants void test02() { - bool test __attribute__((unused)) = true; - typedef std::mbstate_t state_type; std::streamoff off01; diff --git a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/3.cc b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/3.cc index caf2989d78f..ce96cdac195 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/mbstate_t/3.cc @@ -26,8 +26,6 @@ void test03() { - bool test __attribute__((unused)) = true; - typedef std::mbstate_t state_type; std::streamoff off01; diff --git a/libstdc++-v3/testsuite/27_io/ios_base/callbacks/1.cc b/libstdc++-v3/testsuite/27_io/ios_base/callbacks/1.cc index 2d3450c9704..0336c5c64f1 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/callbacks/1.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/callbacks/1.cc @@ -40,7 +40,6 @@ callb03(std::ios_base::event, std::ios_base&, int) void test01() { - bool test __attribute__((unused)) = true; std::locale loc("C"); std::stringbuf strbuf01; std::ios ios01(&strbuf01); diff --git a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-1.cc b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-1.cc index e652166a92b..58e82888001 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-1.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-1.cc @@ -28,7 +28,6 @@ // libstdc++/1972 void test01() { - bool test __attribute__((unused)) = true; std::string s("lack of sunlight, no water error"); // 1 @@ -48,7 +47,6 @@ void test01() void test02() { - bool test __attribute__((unused)) = true; std::string s("lack of sunlight error"); std::range_error x(s); diff --git a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-2.cc b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-2.cc index e04499b9414..be086177e24 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-2.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-2.cc @@ -33,7 +33,6 @@ public: void test03() { - bool test __attribute__((unused)) = true; try { throw fuzzy_logic(); } catch(const fuzzy_logic& obj) diff --git a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-3.cc b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-3.cc index c27cfea853f..c2febb4dcaa 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-3.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-3.cc @@ -39,7 +39,6 @@ void allocate_on_stack(void) void test04() { - bool test __attribute__((unused)) = true; const std::string s("CA ISO emergency once again:immediate power down"); const char* strlit1 = "wish I lived in Palo Alto"; const char* strlit2 = "...or Santa Barbara"; diff --git a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-big.cc b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-big.cc index 3d8c21c2371..1e58f1ed44b 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/failure/what-big.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/failure/what-big.cc @@ -27,7 +27,6 @@ void test01() { typedef std::ios_base::failure test_type; - bool test __attribute__((unused)) = true; const std::string xxx(10000, 'x'); test_type t(xxx); #if _GLIBCXX_USE_CXX11_ABI diff --git a/libstdc++-v3/testsuite/27_io/ios_base/state/1.cc b/libstdc++-v3/testsuite/27_io/ios_base/state/1.cc index 7dca611f5b1..bb1ce4c9b8a 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/state/1.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/state/1.cc @@ -23,7 +23,6 @@ void test02() { - bool test __attribute__((unused)) = true; const std::string strue("true"); const std::string sfalse("false"); std::string str01; diff --git a/libstdc++-v3/testsuite/27_io/ios_base/storage/1.cc b/libstdc++-v3/testsuite/27_io/ios_base/storage/1.cc index 85409a326c5..40813449d69 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/storage/1.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/storage/1.cc @@ -26,8 +26,6 @@ // http://gcc.gnu.org/ml/gcc-bugs/2000-12/msg00413.html void test01() { - bool test __attribute__((unused)) = true; - using namespace std; ios::xalloc(); diff --git a/libstdc++-v3/testsuite/27_io/ios_base/storage/11584.cc b/libstdc++-v3/testsuite/27_io/ios_base/storage/11584.cc index c366f17022d..f67201f19a0 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/storage/11584.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/storage/11584.cc @@ -40,7 +40,6 @@ void operator delete[] (void *p) throw() { operator delete(p); } int main () { - bool test __attribute__((unused)) = true; const int i = std::ios::xalloc(); VERIFY( i >= 0 ); diff --git a/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc b/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc index 8b33732f098..26c19f1601a 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/storage/2.cc @@ -39,7 +39,7 @@ // libstdc++/3129 void test02() { - bool test __attribute__((unused)) = true; + bool test = true; int max = std::numeric_limits::max() - 1; std::stringbuf strbuf; std::ios ios(&strbuf); @@ -64,8 +64,7 @@ void test02() } catch(...) { - test = false; - VERIFY( test ); + VERIFY( false ); } VERIFY( v == 0 ); @@ -73,7 +72,7 @@ void test02() // max is different code path from max-1 v = &test; - try + try { v = ios.pword(std::numeric_limits::max()); } @@ -84,8 +83,7 @@ void test02() } catch(...) { - test = false; - VERIFY( test ); + VERIFY( false ); } VERIFY( v == &test ); @@ -104,8 +102,7 @@ void test02() } catch(...) { - test = false; - VERIFY( test ); + VERIFY( false ); } VERIFY( l == 0 ); @@ -124,11 +121,9 @@ void test02() } catch(...) { - test = false; - VERIFY( test ); + VERIFY( false ); } VERIFY( l == 1 ); - } int main(void) diff --git a/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/2.cc b/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/2.cc index 2775e2d114d..499f002fc17 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/2.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/2.cc @@ -32,8 +32,6 @@ void test02() { - bool test __attribute__((unused)) = true; - std::stringbuf strbuf01; std::ios ios01(&strbuf01); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/1.cc index b45824e016c..59028350b93 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/1.cc @@ -46,7 +46,6 @@ MyNP::do_falsename() const void test01() { - bool test __attribute__((unused)) = true; const char lit[] = "1 0\n" "true false\n" ": true:\n" diff --git a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/2.cc index 590ec46e674..827abd28562 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/char/2.cc @@ -23,7 +23,6 @@ void test02() { - bool test __attribute__((unused)) = true; const std::string str_blank; std::string str_tmp; std::stringbuf strbuf; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc index 567a4e26e07..d8fea6d7f91 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc @@ -44,7 +44,6 @@ MyNP::do_falsename() const void test01() { - bool test __attribute__((unused)) = true; const wchar_t lit[] = L"1 0\n" L"true false\n" L": true:\n" diff --git a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc index bb9fe97bea8..7809848d560 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc @@ -23,7 +23,6 @@ void test02() { - bool test __attribute__((unused)) = true; const std::wstring str_blank; std::wstring str_tmp; std::wstringbuf strbuf; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/basefield/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/basefield/char/1.cc index 26bfa00a4ea..2912404b568 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/basefield/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/basefield/char/1.cc @@ -42,7 +42,6 @@ MyNP::do_thousands_sep() const void test01() { - bool test __attribute__((unused)) = true; const char lit[] = "0123 456\n" ": 01 234 567:\n" ":0123 456 :\n" diff --git a/libstdc++-v3/testsuite/27_io/manipulators/basefield/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/basefield/wchar_t/1.cc index 2b5a39e8ac1..a8561bc2a4c 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/basefield/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/basefield/wchar_t/1.cc @@ -40,7 +40,6 @@ MyNP::do_thousands_sep() const void test01() { - bool test __attribute__((unused)) = true; const wchar_t lit[] = L"0123 456\n" L": 01 234 567:\n" L":0123 456 :\n" diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc index 4331a246fca..7f26e492829 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/1.cc @@ -26,8 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_de = std::locale(ISO_8859(15,de_DE)); std::istringstream iss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc index 0a7c1418009..3bc88a4aff6 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/char/51288.cc @@ -25,8 +25,6 @@ // libstdc++/51288 void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_us = std::locale("en_US.UTF-8"); std::istringstream iss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc index 429c4aa4463..9f1f1c28d46 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc @@ -26,8 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_de = std::locale(ISO_8859(15,de_DE)); std::wistringstream iss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc index 9a0b3f3576b..1a87e504308 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc @@ -25,8 +25,6 @@ // libstdc++/51288 void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_us = std::locale("en_US.UTF-8"); std::wistringstream iss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc index 20f8f5c3f17..57b142815e8 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/1.cc @@ -29,7 +29,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); istringstream iss; iss.imbue(loc_c); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc index 42168f28c5e..1a64cc4df42 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/char/2.cc @@ -30,7 +30,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); locale loc_de = locale("de_DE.UTF-8"); VERIFY( loc_de != loc_c ); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc index da4646e8fb5..717e7139e1f 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc @@ -29,7 +29,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); wistringstream iss; iss.imbue(loc_c); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc index a4656500c66..44224613136 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc @@ -31,7 +31,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); locale loc_de = locale("de_DE.UTF-8"); VERIFY( loc_de != loc_c ); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc index d42bc110812..4f2fcd0c73c 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/1.cc @@ -26,8 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_de = std::locale(ISO_8859(15,de_DE)); std::ostringstream oss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc index 848c1d496e3..aa892b041ff 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/char/51288.cc @@ -25,8 +25,6 @@ // libstdc++/51288 void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_us = std::locale("en_US.UTF-8"); std::ostringstream oss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc index 6d9c9cc3739..9dde3989a02 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc @@ -26,8 +26,6 @@ void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_de = std::locale(ISO_8859(15,de_DE)); std::wostringstream oss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc index 716d0db60a5..e5158787f2d 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc @@ -25,8 +25,6 @@ // libstdc++/51288 void test01() { - bool test __attribute__((unused)) = true; - std::locale loc_us = std::locale("en_US.UTF-8"); std::wostringstream oss; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc index 7b22d73da27..46b728c9142 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc @@ -29,7 +29,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); ostringstream oss; oss.imbue(loc_c); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc index ac74472fd6a..fd3b2f824aa 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc @@ -30,7 +30,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); locale loc_de = locale("de_DE.UTF-8"); VERIFY( loc_de != loc_c ); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc index c4b22c50dad..7edb10a7edd 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc @@ -29,7 +29,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); wostringstream oss; oss.imbue(loc_c); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc index 4c32b0670a6..af2fa26e46f 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc @@ -30,7 +30,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; locale loc_c = locale::classic(); locale loc_de = locale("de_DE.UTF-8"); VERIFY( loc_de != loc_c ); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/1.cc index 132d17e38ec..0bcd8027d3d 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/1.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; string s("john coltrane, a love supreme"); istringstream iss(s); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/2.cc index 8db7346ad5d..cc5505b2c37 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/2.cc @@ -32,7 +32,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; string x (" this is text"); istringstream sin(x); ostringstream sout; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc index 41e1d69e098..b7de0df1436 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/dr2344.cc @@ -26,8 +26,6 @@ void test01() { - bool test [[gnu::unused]] = true; - std::ostringstream ssx; ssx << "[" << std::left << std::setfill('x') << std::setw(20) << R"("AB \"CD\" EF")" << "]"; VERIFY( ssx.str() == R"(["AB \"CD\" EF"xxxxxx])" ); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc index 3041d18d83f..540e3607269 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/char/quoted.cc @@ -28,7 +28,6 @@ void test01() { // Basic test from paper. - bool test [[gnu::unused]] = true; std::stringstream ss; std::string original = "foolish me"; std::string round_trip; @@ -41,7 +40,6 @@ void test02() { // Test skipws correctness. - bool test [[gnu::unused]] = true; std::stringstream ss; ss << std::quoted("Hello Goodbye") << ' ' << 1 << ' ' << 2; std::string song; @@ -56,7 +54,6 @@ void test03() { // Test read of unquoted string. - bool test [[gnu::unused]] = true; std::stringstream ss; ss << "Alpha Omega"; std::string testit; @@ -68,7 +65,6 @@ auto test04(const std::string& message) { // Test 'const basic_string&' - bool test [[gnu::unused]] = true; std::stringstream ss; ss << "** Error: " << std::quoted(message) << " **"; return ss.str(); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/1.cc index 989763dfb9e..9c7c97802eb 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/1.cc @@ -25,7 +25,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wstring s(L"john coltrane, a love supreme"); wistringstream iss(s); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc index 825074c112c..397e0e212fb 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/2.cc @@ -32,7 +32,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; wstring x(L" this is text"); wistringstream sin(x); wostringstream sout; diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc index eeaa93cbc66..4b7dad66071 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc @@ -26,8 +26,6 @@ void test01() { - bool test [[gnu::unused]] = true; - std::wostringstream ssx; ssx << L"[" << std::left << std::setfill(L'x') << std::setw(20) << LR"("AB \"CD\" EF")" << L"]"; VERIFY( ssx.str() == LR"(["AB \"CD\" EF"xxxxxx])" ); diff --git a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc index a9d697364ae..4297731107b 100644 --- a/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc +++ b/libstdc++-v3/testsuite/27_io/manipulators/standard/wchar_t/quoted.cc @@ -28,7 +28,6 @@ void test01() { // Basic test from paper. - bool test [[gnu::unused]] = true; std::wstringstream ss; std::wstring original = L"foolish me"; std::wstring round_trip; @@ -41,7 +40,6 @@ void test02() { // Test skipws correctness. - bool test [[gnu::unused]] = true; std::wstringstream ss; ss << std::quoted(L"Hello Goodbye") << L' ' << 1 << L' ' << 2; std::wstring song; @@ -56,7 +54,6 @@ void test03() { // Test read of unquoted string. - bool test [[gnu::unused]] = true; std::wstringstream ss; ss << L"Alpha Omega"; std::wstring testit; @@ -68,7 +65,6 @@ auto test04(const std::wstring& message) { // Test 'const basic_string&' - bool test [[gnu::unused]] = true; std::wstringstream ss; ss << L"** Error: " << std::quoted(message) << L" **"; return ss.str(); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/1.cc b/libstdc++-v3/testsuite/27_io/objects/char/1.cc index 6bdc3037f1f..bed0b6285e3 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/1.cc @@ -74,8 +74,6 @@ // Make sure all the standard streams are defined. void test01() { - bool test __attribute__((unused)) = true; - char array1[20]; typedef std::ios::traits_type ctraits_type; ctraits_type::int_type i = 15; diff --git a/libstdc++-v3/testsuite/27_io/objects/char/10.cc b/libstdc++-v3/testsuite/27_io/objects/char/10.cc index 45a9a795324..bd7d6a5f0d6 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/10.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/10.cc @@ -28,7 +28,6 @@ void test10() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "filebuf_virtuals-1.txt"; FILE* ret = freopen(name, "r", stdin); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/3045.cc b/libstdc++-v3/testsuite/27_io/objects/char/3045.cc index a145caa9820..baa81353b6c 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/3045.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/3045.cc @@ -37,7 +37,6 @@ gnu_filebuf buf(initial); // libstdc++/3045, in a vague way. void test01() { - bool test __attribute__((unused)) = true; int k1; // 1 normal diff --git a/libstdc++-v3/testsuite/27_io/objects/char/41037.cc b/libstdc++-v3/testsuite/27_io/objects/char/41037.cc index c77d4f98249..0a1b248e10c 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/41037.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/41037.cc @@ -21,8 +21,6 @@ // PR libstdc++/41037 void test01() { - bool test __attribute__((unused)) = true; - VERIFY( std::cerr.flags() & std::ios_base::dec ); VERIFY( std::cerr.flags() & std::ios_base::skipws ); VERIFY( std::cerr.flags() & std::ios_base::unitbuf ); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/5.cc b/libstdc++-v3/testsuite/27_io/objects/char/5.cc index 70c96e4b9ca..24abdee0cde 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/5.cc @@ -68,7 +68,6 @@ int use_standard_streams() void test05() { - bool test __attribute__((unused)) = true; int i = static_ob.i; VERIFY( std::cin.iword(i) == i + 1 ); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/6.cc b/libstdc++-v3/testsuite/27_io/objects/char/6.cc index 96207b4843f..247ba04a221 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/6.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/6.cc @@ -36,8 +36,6 @@ protected: void test06() { - bool test __attribute__((unused)) = true; - try { // No-op in current code. @@ -47,9 +45,8 @@ void test06() } catch(...) { - test = false; + VERIFY( false ); } - VERIFY( test ); } int main() diff --git a/libstdc++-v3/testsuite/27_io/objects/char/6548_xin.cc b/libstdc++-v3/testsuite/27_io/objects/char/6548_xin.cc index f73dd19d729..de8730c56ba 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/6548_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/6548_xin.cc @@ -23,7 +23,6 @@ // libstdc++/6548 void test07() { - bool test __attribute__((unused)) = true; std::cout << "Enter 'test':"; std::string s; std::getline(std::cin, s, '\n'); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/6648-1_xin.cc b/libstdc++-v3/testsuite/27_io/objects/char/6648-1_xin.cc index 7d26c1d0844..a4d8a2eae16 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/6648-1_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/6648-1_xin.cc @@ -23,7 +23,6 @@ // Interactive tests: each one (run alone) must terminate upon a single '\n'. void test08() { - bool test __attribute__((unused)) = true; char buff[2048]; std::cout << "Enter name: "; std::cin.getline(buff, 2048); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/6648-2_xin.cc b/libstdc++-v3/testsuite/27_io/objects/char/6648-2_xin.cc index 30835656fd6..b74a3004e62 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/6648-2_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/6648-2_xin.cc @@ -21,7 +21,6 @@ void test09() { - bool test __attribute__((unused)) = true; std::cout << "Enter favorite beach: "; std::cin.ignore(2048, '\n'); } diff --git a/libstdc++-v3/testsuite/27_io/objects/char/7744_xin.cc b/libstdc++-v3/testsuite/27_io/objects/char/7744_xin.cc index 5d3ec0098ba..761836795fc 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/7744_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/7744_xin.cc @@ -23,7 +23,6 @@ // libstdc++/7744 void test11() { - bool test __attribute__((unused)) = true; std::ios::sync_with_stdio(false); std::cout << "Type in the characters 'abc' and press : "; diff --git a/libstdc++-v3/testsuite/27_io/objects/char/8.cc b/libstdc++-v3/testsuite/27_io/objects/char/8.cc index 98e7179ff6a..d43f4cf506e 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/8.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/8.cc @@ -24,8 +24,6 @@ void test02() { - bool test __attribute__((unused)) = true; - // 27.3 - Standard iostream objects p 2 // The objects are not destroyed during program execution. void* p1 = &std::cout; diff --git a/libstdc++-v3/testsuite/27_io/objects/char/9.cc b/libstdc++-v3/testsuite/27_io/objects/char/9.cc index 4ed6b8e1e9d..a36807aad00 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/9.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/9.cc @@ -27,7 +27,6 @@ void test09() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_09"; FILE* fout = fopen(name, "w"); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/9661-2_xin.cc b/libstdc++-v3/testsuite/27_io/objects/char/9661-2_xin.cc index b5a87a5fc28..68f8eaada4e 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/9661-2_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/9661-2_xin.cc @@ -25,8 +25,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; - int c1 = fgetc(stdin); int c2 = cin.rdbuf()->sputbackc(c1); VERIFY( c2 == c1 ); diff --git a/libstdc++-v3/testsuite/27_io/objects/char/dr455.cc b/libstdc++-v3/testsuite/27_io/objects/char/dr455.cc index 1e24b5a7c95..6ae017bca0b 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/dr455.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/dr455.cc @@ -23,8 +23,6 @@ // DR 455. cerr::tie() and wcerr::tie() are overspecified. void test01() { - bool test __attribute__((unused)) = true; - VERIFY( std::cerr.tie() == &std::cout ); } diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/1.cc index bb5298587de..1c5992726bd 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/1.cc @@ -77,8 +77,6 @@ void test01() { - bool test __attribute__((unused)) = true; - wchar_t array2[20]; typedef std::wios::traits_type wtraits_type; wtraits_type::int_type wi = 15; diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc index b57965f88a4..b6fae902f73 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc @@ -28,8 +28,7 @@ void test10() { using namespace std; - - bool test __attribute__((unused)) = true; + const char* name = "tmp_10"; locale loc(locale("se_NO.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc index 015da04df7b..560d9e71543 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/11.cc @@ -28,8 +28,7 @@ void test11() { using namespace std; - - bool test __attribute__((unused)) = true; + const char* name = "tmp_11"; locale loc(locale("se_NO.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc index 506a2f8e84d..90481c93bbd 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc @@ -33,8 +33,7 @@ void test12() { using namespace std; - - bool test __attribute__((unused)) = true; + const char* name = "tmp_12"; locale loc(locale("se_NO.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/13.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/13.cc index 72534de4938..6955a775d1f 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/13.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/13.cc @@ -32,8 +32,7 @@ void test13() { using namespace std; - - bool test __attribute__((unused)) = true; + const char* name = "tmp_13"; locale loc(locale("se_NO.UTF-8")); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/13582-1_xin.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/13582-1_xin.cc index b68509242ba..b02e886a1d5 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/13582-1_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/13582-1_xin.cc @@ -24,7 +24,6 @@ // libstdc++/13582 void test01() { - bool test __attribute__((unused)) = true; using namespace std; ios_base::sync_with_stdio(false); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/3045.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/3045.cc index 62c8e631f30..c654a052443 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/3045.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/3045.cc @@ -37,7 +37,6 @@ gnu_filebuf buf(initial); // libstdc++/3045, in a vague way. void test01() { - bool test __attribute__((unused)) = true; int k1; // 1 normal diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/41037.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/41037.cc index e86b68164dd..4177062496c 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/41037.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/41037.cc @@ -21,8 +21,6 @@ // PR libstdc++/41037 void test01() { - bool test __attribute__((unused)) = true; - VERIFY( std::wcerr.flags() & std::ios_base::dec ); VERIFY( std::wcerr.flags() & std::ios_base::skipws ); VERIFY( std::wcerr.flags() & std::ios_base::unitbuf ); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/5.cc index 2a581d26ca4..578bef1f498 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/5.cc @@ -68,7 +68,6 @@ int use_standard_streams() void test05() { - bool test __attribute__((unused)) = true; int i = static_ob.i; VERIFY( std::wcin.iword(i) == i + 1 ); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/6548_xin.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/6548_xin.cc index 2f91f8956af..71aa93af913 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/6548_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/6548_xin.cc @@ -23,7 +23,6 @@ // libstdc++/6548 void test07() { - bool test __attribute__((unused)) = true; std::wcout << L"Enter 'test':"; std::wstring s; std::getline(std::wcin, s, L'\n'); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-1_xin.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-1_xin.cc index b84583463da..30297cdd040 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-1_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-1_xin.cc @@ -23,7 +23,6 @@ // Interactive tests: each one (run alone) must terminate upon a single '\n'. void test08() { - bool test __attribute__((unused)) = true; wchar_t buff[2048]; std::wcout << "Enter name: "; std::wcin.getline(buff, 2048); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-2_xin.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-2_xin.cc index ba1a789665f..9937f6904bc 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-2_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/6648-2_xin.cc @@ -21,7 +21,6 @@ void test09() { - bool test __attribute__((unused)) = true; std::wcout << L"Enter favorite beach: "; std::wcin.ignore(2048, '\n'); } diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/7744_xin.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/7744_xin.cc index 2b3a94a750b..b166f27bd57 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/7744_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/7744_xin.cc @@ -23,7 +23,6 @@ // libstdc++/7744 void test11() { - bool test __attribute__((unused)) = true; std::ios::sync_with_stdio(false); std::wcout << "Type in the characters 'abc' and press : "; diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/8.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/8.cc index cffa5ec5557..a389c349e24 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/8.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/8.cc @@ -24,8 +24,6 @@ void test02() { - bool test __attribute__((unused)) = true; - // 27.3 - Standard iostream objects p 2 // The objects are not destroyed during program execution. void* p1 = &std::wcout; diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/9520.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/9520.cc index 15cbf6f1a73..a2c5b8ff40b 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/9520.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/9520.cc @@ -27,7 +27,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; const char* name = "tmp_9520"; FILE* file = fopen(name, "w"); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/9661-2_xin.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/9661-2_xin.cc index c0f8de9362b..61919b2380e 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/9661-2_xin.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/9661-2_xin.cc @@ -26,8 +26,6 @@ void test02() { using namespace std; - bool test __attribute__((unused)) = true; - wint_t c1 = fgetwc(stdin); wint_t c2 = wcin.rdbuf()->sputbackc(c1); VERIFY( c2 == c1 ); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/9662.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/9662.cc index d988a1457d8..c005a0d2143 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/9662.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/9662.cc @@ -26,8 +26,6 @@ // on stdout. void test01() { - bool test __attribute__((unused)) = true; - std::wcout << L"Hello, "; VERIFY( std::fwide(stdout, 0) >= 0 ); int ret = std::fputws(L"world!\n", stdout); diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/dr455.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/dr455.cc index 6f9875e001f..13fd21813fb 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/dr455.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/dr455.cc @@ -23,8 +23,6 @@ // DR 455. cerr::tie() and wcerr::tie() are overspecified. void test01() { - bool test __attribute__((unused)) = true; - VERIFY( std::wcerr.tie() == &std::wcout ); } diff --git a/libstdc++-v3/testsuite/27_io/types/3.cc b/libstdc++-v3/testsuite/27_io/types/3.cc index f0f658ee3fe..4c253be8d88 100644 --- a/libstdc++-v3/testsuite/27_io/types/3.cc +++ b/libstdc++-v3/testsuite/27_io/types/3.cc @@ -23,8 +23,6 @@ void check(std::streamsize n) { - bool test __attribute__((unused)) = true; - VERIFY( std::streamsize(std::streamoff(n)) == n ); }