public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers @ 2004-02-08 14:10 peturr02 at ru dot is 2004-02-08 14:10 ` [Bug libstdc++/14072] " peturr02 at ru dot is ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: peturr02 at ru dot is @ 2004-02-08 14:10 UTC (permalink / raw) To: gcc-bugs basic_ios::imbue caches pointers to the ctype, num_get and num_put facets in the new locale, however, if the new locale doesn't have these facets, it leaves dangling pointers to the facets from the old locale. -- Summary: basic_ios::imbue leaves dangling pointers Product: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: peturr02 at ru dot is CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14072 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/14072] basic_ios::imbue leaves dangling pointers 2004-02-08 14:10 [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers peturr02 at ru dot is @ 2004-02-08 14:10 ` peturr02 at ru dot is 2004-02-08 15:54 ` pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: peturr02 at ru dot is @ 2004-02-08 14:10 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From peturr02 at ru dot is 2004-02-08 14:10 ------- Created an attachment (id=5703) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5703&action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14072 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/14072] basic_ios::imbue leaves dangling pointers 2004-02-08 14:10 [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers peturr02 at ru dot is 2004-02-08 14:10 ` [Bug libstdc++/14072] " peturr02 at ru dot is @ 2004-02-08 15:54 ` pinskia at gcc dot gnu dot org 2004-02-08 17:18 ` pcarlini at suse dot de ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-08 15:54 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-08 15:54 ------- I can confirm this on the mainline. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Known to fail| |3.5.0 Last reconfirmed|0000-00-00 00:00:00 |2004-02-08 15:54:04 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14072 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/14072] basic_ios::imbue leaves dangling pointers 2004-02-08 14:10 [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers peturr02 at ru dot is 2004-02-08 14:10 ` [Bug libstdc++/14072] " peturr02 at ru dot is 2004-02-08 15:54 ` pinskia at gcc dot gnu dot org @ 2004-02-08 17:18 ` pcarlini at suse dot de 2004-02-09 9:03 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pcarlini at suse dot de @ 2004-02-08 17:18 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Status|NEW |ASSIGNED Target Milestone|--- |3.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14072 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/14072] basic_ios::imbue leaves dangling pointers 2004-02-08 14:10 [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers peturr02 at ru dot is ` (2 preceding siblings ...) 2004-02-08 17:18 ` pcarlini at suse dot de @ 2004-02-09 9:03 ` cvs-commit at gcc dot gnu dot org 2004-02-09 9:53 ` cvs-commit at gcc dot gnu dot org 2004-02-09 10:02 ` pcarlini at suse dot de 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-02-09 9:03 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-09 09:02 ------- Subject: Bug 14072 CVSROOT: /cvs/gcc Module name: gcc Changes by: paolo@gcc.gnu.org 2004-02-09 09:02:52 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/include/bits: basic_ios.tcc libstdc++-v3/testsuite/22_locale/numpunct/members/pod: 2.cc Added files: libstdc++-v3/testsuite/27_io/basic_ios/imbue: 14072.cc Log message: 2004-02-09 Paolo Carlini <pcarlini@suse.de> PR libstdc++/14072 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale): Don't leave dangling pointers. * testsuite/27_io/basic_ios/imbue/14072.cc: New. * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put facet is needed in the final test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2317&r2=1.2318 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/basic_ios.tcc.diff?cvsroot=gcc&r1=1.30&r2=1.31 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/basic_ios/imbue/14072.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc.diff?cvsroot=gcc&r1=1.3&r2=1.4 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14072 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/14072] basic_ios::imbue leaves dangling pointers 2004-02-08 14:10 [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers peturr02 at ru dot is ` (3 preceding siblings ...) 2004-02-09 9:03 ` cvs-commit at gcc dot gnu dot org @ 2004-02-09 9:53 ` cvs-commit at gcc dot gnu dot org 2004-02-09 10:02 ` pcarlini at suse dot de 5 siblings, 0 replies; 7+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-02-09 9:53 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-09 09:53 ------- Subject: Bug 14072 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: paolo@gcc.gnu.org 2004-02-09 09:53:05 Modified files: libstdc++-v3 : ChangeLog libstdc++-v3/include/bits: basic_ios.tcc libstdc++-v3/testsuite/22_locale/numpunct/members/pod: 2.cc Added files: libstdc++-v3/testsuite/27_io/basic_ios/imbue: 14072.cc Log message: 2004-02-09 Paolo Carlini <pcarlini@suse.de> PR libstdc++/14072 * include/bits/basic_ios.tcc (basic_ios<>::_M_cache_locale): Don't leave dangling pointers. * testsuite/27_io/basic_ios/imbue/14072.cc: New. * testsuite/22_locale/numpunct/members/pod/2.cc: Tweak, the num_put facet is needed in the final test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.28&r2=1.2224.2.29 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/basic_ios.tcc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.28.4.1&r2=1.28.4.2 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/basic_ios/imbue/14072.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3&r2=1.3.10.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14072 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libstdc++/14072] basic_ios::imbue leaves dangling pointers 2004-02-08 14:10 [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers peturr02 at ru dot is ` (4 preceding siblings ...) 2004-02-09 9:53 ` cvs-commit at gcc dot gnu dot org @ 2004-02-09 10:02 ` pcarlini at suse dot de 5 siblings, 0 replies; 7+ messages in thread From: pcarlini at suse dot de @ 2004-02-09 10:02 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pcarlini at suse dot de 2004-02-09 10:02 ------- Fixed for 3.4.0. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14072 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-02-09 10:02 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-02-08 14:10 [Bug libstdc++/14072] New: basic_ios::imbue leaves dangling pointers peturr02 at ru dot is 2004-02-08 14:10 ` [Bug libstdc++/14072] " peturr02 at ru dot is 2004-02-08 15:54 ` pinskia at gcc dot gnu dot org 2004-02-08 17:18 ` pcarlini at suse dot de 2004-02-09 9:03 ` cvs-commit at gcc dot gnu dot org 2004-02-09 9:53 ` cvs-commit at gcc dot gnu dot org 2004-02-09 10:02 ` pcarlini at suse dot de
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).