aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorPetur Runolfsson <peturr02@ru.is>2003-11-13 17:43:48 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2003-11-13 17:43:48 +0000
commit5681c890b67c0f3c3134fb9897293866594cbd5c (patch)
tree987089f2712ac37da35236a2d219760bdafc2b62 /gcc/function.c
parent148a82c8ad081d9bc615389c6a167824fdf2e2bf (diff)
downloadgcc-5681c890b67c0f3c3134fb9897293866594cbd5c.zip
gcc-5681c890b67c0f3c3134fb9897293866594cbd5c.tar.gz
gcc-5681c890b67c0f3c3134fb9897293866594cbd5c.tar.bz2
re PR libstdc++/12594 (DRs 60 [TC] and 63 [TC] not implemented)
2003-11-13 Petur Runolfsson <peturr02@ru.is> PR libstdc++/12594 * include/bits/ostream.tcc (basic_ostream::operator<<(basic_ostream& (*)(basic_ostream&)), basic_ostream::operator<<(basic_ios& (*)(basic_ios&)), basic_ostream::operator<<(ios_base& (*)(ios_base&))): Implement the resolution of DR 60 (TC): These are not formatted output functions so don't construct sentry objects and don't catch exceptions. (basic_ostream::put, basic_ostream::write): Implement the resolution of DR 63 (TC) by catching exceptions and setting badbit. (basic_ostream::flush): Implement the resolution of DR 60 (TC): This is not an unformatted output function so don't construct a sentry object. * testsuite/testsuite_io.h (sync_streambuf): Define. * testsuite/27_io/basic_ostream/flush/char/2.cc: New test. * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: New test. * testsuite/27_io/basic_ostream/put/char/1.cc: New test. * testsuite/27_io/basic_ostream/write/char/1.cc: New test. From-SVN: r73551
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions