public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Christian Neubauer <neu@iis.fhg.de> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c++/7538: Constructors of static members are not called always Date: Mon, 16 Sep 2002 01:46:00 -0000 [thread overview] Message-ID: <20020916084603.24735.qmail@sources.redhat.com> (raw) The following reply was made to PR c++/7538; it has been noted by GNATS. From: Christian Neubauer <neu@iis.fhg.de> To: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, neu@iis.fhg.de, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/7538: Constructors of static members are not called always Date: Mon, 16 Sep 2002 10:38:27 +0200 Dear Nathan, no the issue is not solved in 3.0.4. I tried (before the submission) and again today. If you look in the second example the line saying "staticClass::staticClass() called" is not printed. This means that the static member class is not instanciated, what (in my opinion) is a bug. Please consider the problem again. Regards Christian Neubauer 1. link program using gcc and start + g++ main.o classA.o staticClass.o -o main + ./main staticClass:::staticClass() called main() called This should result in five: 5 main() finished + set +x 2. link program using a library and start + ar cru libtest.a classA.o staticClass.o + g++ main.o -L. -ltest -o main + ./main main() called This should result in five: 5 main() finished + set +x nathan@gcc.gnu.org wrote: > Synopsis: Constructors of static members are not called always > > State-Changed-From-To: open->closed > State-Changed-By: nathan > State-Changed-When: Fri Sep 13 16:15:25 2002 > State-Changed-Why: > works in 3.2 > > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7538 -- Dr. Christian Neubauer Phone: +49 9131 776-355 FhG-IIS A, Audio & Multimedia Mobil: +49 160 5840467 Am Wolfsmantel 33, D-91058 Erlangen, Germany Fax: +49 9131 776-398
next reply other threads:[~2002-09-16 8:46 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-09-16 1:46 Christian Neubauer [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-09-25 3:52 nathan 2002-09-16 6:26 Christian Neubauer 2002-09-16 6:08 nathan 2002-09-16 4:56 Nathan Sidwell 2002-09-13 16:15 nathan 2002-08-08 3:16 neu
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=20020916084603.24735.qmail@sources.redhat.com \ --to=neu@iis.fhg.de \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@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).