This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [ECGS] EH bug in Makefile.in
- To: khan at xraylith dot wisc dot edu (Mumit Khan)
- Subject: Re: [ECGS] EH bug in Makefile.in
- From: chip at atlantic dot net
- Date: Sun, 26 Oct 1997 19:30:16 -0500 (EST)
- Cc: jbuck at synopsys dot com, egcs at cygnus dot com
- Reply-To: chip at pobox dot com
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