This is the mail archive of the
egcs@egcs.cygnus.com
mailing list for the EGCS project. See the EGCS
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: virtual inheritance: optimization for empty objects
- To: Alexander Schiemann <aschiem@count.math.uni-sb.de>
- Subject: Re: virtual inheritance: optimization for empty objects
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 04 Mar 1999 18:35:43 -0300
- Cc: egcs@egcs.cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-Reply-To: Alexander Schiemann's message of "Thu, 4 Mar 1999 22:05:05 +0100 (MET)"
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- References: <199903042105.WAA19132@count.math.uni-sb.de>
- Sender: owner-egcs@egcs.cygnus.com
- Sender: oliva@araguaia.dcc.unicamp.br
- User-Agent: Gnus/5.070079 (Pterodactyl Gnus v0.79) XEmacs/20.4 (Emerald)
On Mar 4, 1999, Alexander Schiemann <aschiem@count.math.uni-sb.de> wrote:
> deriving a class B from class A without adding a data-member
> does not increase the size.
> But with virtual inheritance egcs-1.1.1 does not take advantage
> of such a situation.
The latest snapshots will, if you compile with -fnew-abi.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil