This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: java: suppress java.lang.Object constructor


On Jul 17, 2001, Alexandre Petit-Bianco <apbianco@cygnus.com> wrote:

> Tom Tromey <tromey@redhat.com> writes:
>> Is it hard to do this in a general way?
>> If the superclass is derived from Object and it doesn't need a
>> constructor, then eliminate more calls?  (i.e., work recursively)

> That's a good idea.

But what if the base class is then modified such that the constructor
is no longer a do-nothing?  Wouldn't it be reasonable for one to
expect not to have to recompile the derived class?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]