diff options
author | David Krauss <potswa@mac.com> | 2010-10-06 00:17:28 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-10-06 00:17:28 +0000 |
commit | 47b90d6b3215bac43ff7134461cb03a4857b3143 (patch) | |
tree | 18fe427c552ba9001525397586833ca0ed3484e3 /gcc/fortran/f95-lang.c | |
parent | 94a9600ce3147de36fdd06dba2e3cae693a21b4d (diff) | |
download | gcc-47b90d6b3215bac43ff7134461cb03a4857b3143.zip gcc-47b90d6b3215bac43ff7134461cb03a4857b3143.tar.gz gcc-47b90d6b3215bac43ff7134461cb03a4857b3143.tar.bz2 |
re PR libstdc++/45841 (r164529 cris-elf libstdc++ 27_io/basic_filebuf/seekoff/char/2-io.cc)
2010-10-05 David Krauss <potswa@mac.com>
PR libstdc++/45841
* include/bits/fstream.h (basic_filebuf::underflow): Overflow
success does not preclude returning failure.
(basic_filebuf::pbackfail): Likewise.
(basic_filebuf::xsputn): Fix indentation problem.
(basic_filebuf::xsgetn): Likewise. Also, add similar overflow
call to enable optimized case from write mode.
* testsuite/27_io/basic_filebuf/underflow/char/45841.cc: New.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
From-SVN: r165009
Diffstat (limited to 'gcc/fortran/f95-lang.c')
0 files changed, 0 insertions, 0 deletions