This is the mail archive of the
mailing list for the GCC project.
Re: new improved EH on Darwin
- From: Geoffrey Keating <geoffk at apple dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, shebs at apple dot com, stuart at apple dot com
- Date: Mon, 18 Nov 2002 16:09:09 -0800
- Subject: Re: new improved EH on Darwin
On Monday, November 18, 2002, at 03:24 PM, Richard Henderson wrote:
This is the 'excess errors' test; it fails on Darwin because this test
overrides malloc(), which causes the linker to complain about duplicate
On Wed, Nov 06, 2002 at 01:00:53PM -0800, Geoffrey Keating wrote:
* g++.old-deja/g++.eh/badalloc1.C: XFAIL excess errors test on
If this passes, then we're not testing what we think we're testing.
The C++ runtime _does_ allocate memory when throwing. There is no
way you could have affected that. This should still fail.
However, the runtime test does pass for me (annoyingly, XPASS because
the test harness thinks the excess errors mean that compilation failed)
on Darwin. When I look at it, the runtime seems to always have a
fallback for being unable to allocate memory, for instance, see
emergency_buffer in __cxa_allocate_exception.