This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] C++ vs forced unwinding
- From: Richard Henderson <rth at twiddle dot net>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>
- Cc: bkoz at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 2 Apr 2003 15:42:26 -0800
- Subject: Re: [RFC] C++ vs forced unwinding
- References: <OFB30E14B1.C6A1B5C3-ONC1256CFC.0066B6BD@de.ibm.com>
On Wed, Apr 02, 2003 at 08:47:22PM +0200, Ulrich Weigand wrote:
> Why not? A lot of existing code is using these, and it will break when
> stack backchains are switched off.
Or never worked at all.
> If the necessary routines are exported from libgcc ...
No, not really.
The point of __builtin_return_address is (1) to be builtin,
and (2) to do as good a job as possible with only that.
r~