[Bug libstdc++/23875] operator<<(short) should not call operator<<(long), etc.
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 15 17:27:00 GMT 2005
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-15 17:27 -------
Subject: Bug 23875
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: paolo@gcc.gnu.org 2005-09-15 17:27:24
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/bits: ostream.tcc
libstdc++-v3/include/std: std_ostream.h
Added files:
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod:
23875.cc
Log message:
2005-09-15 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/23875
* include/std/std_ostream.h (operator<<(short), operator<<(unsigned
short), operator<<(int), operator<<(unsigned int), operator<<(float)):
Don't call operator<<(long), operator<<(unsigned long), or
operator<<(double), do the work mandated by the resolution of DR117...
* include/bits/ostream.tcc (operator<<(short), operator<<(unsigned
short), operator<<(int), operator<<(unsigned int), operator<<(float)):
... here.
* testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.3106&r2=1.3107
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/ostream.tcc.diff?cvsroot=gcc&r1=1.56&r2=1.57
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/std/std_ostream.h.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23875
More information about the Gcc-bugs
mailing list