public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ranc at mobixell dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/32688] Dynamic linking cause static Dtor and Ctor to ran twice on same instance
Date: Mon, 09 Jul 2007 07:08:00 -0000	[thread overview]
Message-ID: <20070709070803.8532.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32688-14820@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from ranc at mobixell dot com  2007-07-09 07:08 -------
Attached is a gzipped tag ball with a sample problem.

just execute from bash the compile.bash script and execute ./main .

(I use RHEL 4.0)

[ranc@Rans_Linux test]$ g++ --version
g++ (GCC) 3.4.5 20051201 (Red Hat 3.4.5-2)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[ranc@Rans_Linux test]$ ld --version
GNU ld version 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.


-- 


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


  parent reply	other threads:[~2007-07-09  7:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-09  7:01 [Bug c++/32688] New: " ranc at mobixell dot com
2007-07-09  7:07 ` [Bug c++/32688] " ranc at mobixell dot com
2007-07-09  7:08 ` ranc at mobixell dot com [this message]
2007-07-09  7:12 ` pinskia at gcc dot gnu dot org

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=20070709070803.8532.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: link
Be 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).