public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Michael Ritzert <mritzert@ti.uni-mannheim.de> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/4122 Date: Fri, 31 Aug 2001 14:06:00 -0000 [thread overview] Message-ID: <20010831210600.3565.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR c++/4122; it has been noted by GNATS. From: Michael Ritzert <mritzert@ti.uni-mannheim.de> To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, michael@ritzert.de Cc: Subject: Re: c++/4122 Date: Fri, 31 Aug 2001 22:55:46 +0200 Dies ist eine mehrteilige Nachricht im MIME-Format. --------------B309B408FF53900F4CCC9C9D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I was able to strip down the testcase to the attached file. Note that it makes a difference where the last destructor is defined: ritzert@darkstar:~/tmp/gccbug > c++ -c i.cpp && nm -C i.o | grep _non_ex 00000000 W PortableServer::ServantBase::_non_existent() U non-virtual thunk to PortableServer::ServantBase::_non_existent() ritzert@darkstar:~/tmp/gccbug > c++ -c i.cpp -D OK && nm -C i.o | grep _non_ex ritzert@darkstar:~/tmp/gccbug > HTH. Michael http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4122&database=gcc --------------B309B408FF53900F4CCC9C9D Content-Type: text/plain; charset=us-ascii; name="i.cpp" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="i.cpp" namespace PortableServer { class ServantBase { protected: ServantBase() { } public: virtual void _non_existent() {}; }; class RefCountServantBase : public virtual ServantBase { }; } namespace POA_CORBA { class IRObject : virtual public PortableServer::ServantBase { public: IRObject() { } }; } namespace CORBA { class IRObject_impl : public virtual PortableServer::RefCountServantBase, public virtual POA_CORBA::IRObject { }; } namespace POA_CORBA { class Container : virtual public POA_CORBA::IRObject { public: Container() { } }; } namespace CORBA { class Container_impl : public virtual POA_CORBA::Container, public virtual IRObject_impl { public: Container_impl() {}; virtual ~Container_impl() {} }; } namespace CORBA { class Repository_impl : public virtual Container_impl { public: Repository_impl() {}; #ifndef OK virtual ~Repository_impl(); #else virtual ~Repository_impl() {}; #endif }; } #ifndef OK CORBA::Repository_impl::~Repository_impl() { } #endif --------------B309B408FF53900F4CCC9C9D--
next reply other threads:[~2001-08-31 14:06 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-31 14:06 Michael Ritzert [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-09-01 15:06 c++/4122 Michael Ritzert 2001-08-25 4:36 c++/4122 Michael Ritzert
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=20010831210600.3565.qmail@sourceware.cygnus.com \ --to=mritzert@ti.uni-mannheim.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).