From: "Simon" Newsgroups: comp.os.msdos.djgpp Subject: virtual function explosion of assembler code Date: Wed, 05 Feb 1997 15:17:20 GMT Organization: Dell Computer Corporation Message-ID: <01bc1377$d5fe9ac0$0a93d9c2@simon.browns.co.uk> NNTP-Posting-Host: w10.browns.co.uk Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp We have just started experimenting with V272 of the GCC 68040 cross compiler having been using V257. A source code module which uses a lot of derived classes with virtual functions exploded in terms of the size of the 68040 assembler output. Under V257 the NEW operator merely caused each instance of a derived class to have an appropriate pointer to the virtual function table inserted. Under V272 the NEW operator has also caused the compiler to generate what look like constructor and initialisor functions for each derived class type but we don't want them and no one calls them. Can anyone help. ? Simon Watson