This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32688] Dynamic linking cause static Dtor and Ctor to ran twice on same instance
- From: "ranc at mobixell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2007 07:07:18 -0000
- Subject: [Bug c++/32688] Dynamic linking cause static Dtor and Ctor to ran twice on same instance
- References: <bug-32688-14820@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from ranc at mobixell dot com 2007-07-09 07:07 -------
Created an attachment (id=13874)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13874&action=view)
gzipped tar ball of a sample code
The is the sample code problem, execute from bash the compile.bash script:
. compile.bash
then execute:
./main
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32688