public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/32017] New: Exception-safety bug
@ 2007-05-21 4:49 dave at boost-consulting dot com
2007-05-21 5:03 ` [Bug libstdc++/32017] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dave at boost-consulting dot com @ 2007-05-21 4:49 UTC (permalink / raw)
To: gcc-bugs
list<T>::insert(pos, start, finish) doesn't provide the strong guarantee as
required by 23.2.3.3 list modifiers
See
http://groups.google.com/group/comp.lang.c++.moderated/browse_frm/thread/b215edcb44b19bb9/c875353acb4da29e
It's almost a sure bet that libstdc++ contains other exception-safety bugs.
I suggest you adapt and adopt the test mentioned here:
http://groups.google.com/group/comp.lang.c++.moderated/tree/browse_frm/thread/1ff1165766b913f5/92dcc2c639b9ce39
and here:
http://groups.google.com/group/comp.lang.c++.moderated/browse_frm/thread/5272e2a3501ad534/3c80688532fcf240
--
Summary: Exception-safety bug
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dave at boost-consulting dot com
GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32017
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/32017] Exception-safety bug
2007-05-21 4:49 [Bug libstdc++/32017] New: Exception-safety bug dave at boost-consulting dot com
@ 2007-05-21 5:03 ` pinskia at gcc dot gnu dot org
2007-05-21 8:22 ` pcarlini at suse dot de
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-21 5:03 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32017
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/32017] Exception-safety bug
2007-05-21 4:49 [Bug libstdc++/32017] New: Exception-safety bug dave at boost-consulting dot com
2007-05-21 5:03 ` [Bug libstdc++/32017] " pinskia at gcc dot gnu dot org
@ 2007-05-21 8:22 ` pcarlini at suse dot de
2007-05-21 13:26 ` dave at boost-consulting dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pcarlini at suse dot de @ 2007-05-21 8:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pcarlini at suse dot de 2007-05-21 09:22 -------
Ok, thanks, but this bug is already fixed.
*** This bug has been marked as a duplicate of 25288 ***
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32017
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/32017] Exception-safety bug
2007-05-21 4:49 [Bug libstdc++/32017] New: Exception-safety bug dave at boost-consulting dot com
2007-05-21 5:03 ` [Bug libstdc++/32017] " pinskia at gcc dot gnu dot org
2007-05-21 8:22 ` pcarlini at suse dot de
@ 2007-05-21 13:26 ` dave at boost-consulting dot com
2007-05-21 14:01 ` pcarlini at suse dot de
2007-05-21 14:57 ` [Bug libstdc++/32017] consistent exception-safety container testing bkoz at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dave at boost-consulting dot com @ 2007-05-21 13:26 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from dave at boost-consulting dot com 2007-05-21 14:25 -------
I won't push the subject any further, but again, if you don't adopt the tests
mentioned in the threads cited above, you will almost certainly have further
exception safety bugs lurking. Howard Hinnant can verify that this test works
as he used it to validate the MSL.
--
dave at boost-consulting dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32017
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/32017] Exception-safety bug
2007-05-21 4:49 [Bug libstdc++/32017] New: Exception-safety bug dave at boost-consulting dot com
` (2 preceding siblings ...)
2007-05-21 13:26 ` dave at boost-consulting dot com
@ 2007-05-21 14:01 ` pcarlini at suse dot de
2007-05-21 14:57 ` [Bug libstdc++/32017] consistent exception-safety container testing bkoz at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pcarlini at suse dot de @ 2007-05-21 14:01 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pcarlini at suse dot de 2007-05-21 15:00 -------
This specific bug is already fixed and must be marked as duplicate. Then we
have 21772, more general. We know what we are doing, thanks.
*** This bug has been marked as a duplicate of 25288 ***
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32017
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/32017] consistent exception-safety container testing
2007-05-21 4:49 [Bug libstdc++/32017] New: Exception-safety bug dave at boost-consulting dot com
` (3 preceding siblings ...)
2007-05-21 14:01 ` pcarlini at suse dot de
@ 2007-05-21 14:57 ` bkoz at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2007-05-21 14:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bkoz at gcc dot gnu dot org 2007-05-21 15:57 -------
Dave, just to clarify, this is bug 21772. We're working on it.
;)
-benjamin
--
bkoz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Exception-safety bug |consistent exception-safety
| |container testing
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32017
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-05-21 14:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-21 4:49 [Bug libstdc++/32017] New: Exception-safety bug dave at boost-consulting dot com
2007-05-21 5:03 ` [Bug libstdc++/32017] " pinskia at gcc dot gnu dot org
2007-05-21 8:22 ` pcarlini at suse dot de
2007-05-21 13:26 ` dave at boost-consulting dot com
2007-05-21 14:01 ` pcarlini at suse dot de
2007-05-21 14:57 ` [Bug libstdc++/32017] consistent exception-safety container testing bkoz at gcc dot gnu dot org
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).