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: Thu, 04 Mar 1999 13:39:00 -0000 Message-id: In-reply-to: Alexander Schiemann's message of "Thu, 4 Mar 1999 22:05:05 +0100 (MET)" References: <199903042105.WAA19132@count.math.uni-sb.de> X-SW-Source: 1999-03/msg00187.html 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 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