This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/28277] __builtin_alloca with no limit in libstdc++



------- Comment #14 from paolo at gcc dot gnu dot org  2006-10-13 09:00 -------
Subject: Bug 28277

Author: paolo
Date: Fri Oct 13 09:00:31 2006
New Revision: 117689

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117689
Log:
2006-10-13  Paolo Carlini  <pcarlini@suse.de>

        PR libstdc++/28277 (partial: ostream bits 2)
        * include/std/std_ostream.h (basic_ostream<>::_M_insert(const
        char_type*, streamsize)): New.
        (basic_ostream<>::_M_write(char_type, streamsize)): Likewise.
        (operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
        char), operator<<(basic_ostream<>&, const _CharT*),
        operator<<(basic_ostream<>&, const char*)): Use the latter.
        * include/bits/ostream.tcc (basic_ostream<>::_M_insert(const
        char_type*, streamsize)): Define.
        (operator<<(basic_ostream<>&, const char*)): Use the latter.
        (operator<<(basic_ostream<>&, _CharT), operator<<(basic_ostream<>&,
        char), operator<<(basic_ostream<>&, const _CharT*),
        operator<<(basic_ostream<>&, const char*),
        operator<<(basic_ostream<>&, const basic_string<>&)): Remove.
        * include/bits/basic_string.h (operator<<(basic_ostream<>&,
        const basic_string<>&)): Use the latter, implement DR 586.
        * config/abi/pre/gnu.ver: Adjust, export the new _M_insert.
        * docs/html/ext/howto.html: Add an entry for DR 586.
        * testsuite/21_strings/basic_string/inserters_extractors/char/
        28277.cc: New.
        * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/
        28277.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/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.


Added:
   
trunk/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/28277.cc
   
trunk/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/28277.cc
   
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc
   
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc
   
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-2.cc
   
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc
   
trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/config/abi/pre/gnu.ver
    trunk/libstdc++-v3/docs/html/ext/howto.html
    trunk/libstdc++-v3/include/bits/basic_string.h
    trunk/libstdc++-v3/include/bits/ostream.tcc
    trunk/libstdc++-v3/include/std/std_ostream.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28277


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]