public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rlogel at navtech dot aero" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/42649] Optimizer breaks boost shared_ptr Date: Thu, 07 Jan 2010 16:46:00 -0000 [thread overview] Message-ID: <20100107164615.32683.qmail@sourceware.org> (raw) In-Reply-To: <bug-42649-18644@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from rlogel at navtech dot aero 2010-01-07 16:46 ------- Created an attachment (id=19500) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19500&action=view) Shared Pointer Test Program This test program shows that the shared_ptr reference counter isn't being incremented during assignment. As a result the pointer can get deleted before all references are destructed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42649
next prev parent reply other threads:[~2010-01-07 16:46 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-07 16:42 [Bug c++/42649] New: " rlogel at navtech dot aero 2010-01-07 16:46 ` rlogel at navtech dot aero [this message] 2010-01-07 16:50 ` [Bug c++/42649] " rlogel at navtech dot aero 2010-01-07 16:51 ` [Bug c++/42649] Optimizer breaks boost 1.41 shared_ptr rlogel at navtech dot aero 2010-01-07 16:52 ` [Bug c++/42649] Optimizer breaks boost shared_ptr paolo dot carlini at oracle dot com 2010-01-07 16:56 ` rlogel at navtech dot aero 2010-01-07 17:18 ` Andrew Pinski 2010-01-07 17:02 ` paolo dot carlini at oracle dot com 2010-01-07 17:18 ` pinskia at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100107164615.32683.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).