From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Alexander Schiemann Cc: egcs@egcs.cygnus.com Subject: Re: virtual inheritance: optimization for empty objects Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: References: <199903042105.WAA19132@count.math.uni-sb.de> X-SW-Source: 1999-03n/msg00188.html Message-ID: <19990331234600.gbxvihLFCjruuHXQFw53w5sfbLvn_uTAR0rU1I5lqc4@z> On Mar 4, 1999, Alexander Schiemann 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