[ECGS] EH bug in Makefile.in

chip@atlantic.net chip@atlantic.net
Sun Oct 26 16:30:00 GMT 1997


According to Mumit Khan:
> Joe Buck writes:
> > ... someone mentioned that delete is not called if a contructor for an
> > object allocated by new throws an exception ...

That was me.

> Currently only a few compilers handle it correctly -- some EDG
> based ones (eg., Kai) and Intel's C++.

I also know that a recent version of Sun's C++ compiler for SPARC (is
"SUNWspro" its name?) does call operator delete when it's supposed to,
but I'm not sure that it correctly calls a _class-specific_ operator
delete.  (Earlier versions always called ::operator delete() even if
Class::operator delete() existed.)

> > As you know, I've been eager to permit use of egcs on older Linux systems
> > with the egcs compiler installed in a different directory (I use
> > /usr/local/egcs as prefix).

I use the normal prefix, but --program-transform-name='s,^,s,' so that
sgcc is "snapshot gcc", etc.
-- 
Chip Salzenberg          - a.k.a. -           <chip@pobox.com>
        "He's Mr. Big of 'Big And Tall' fame."  // MST3K



More information about the Gcc mailing list