This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GC changes
- To: bernds at redhat dot com, egcs at tantalophile dot demon dot co dot uk
- Subject: Re: GC changes
- From: dewar at gnat dot com
- Date: Mon, 15 Jan 2001 13:30:02 -0500 (EST)
- Cc: amylaar at cambridge dot redhat dot com, gcc at gcc dot gnu dot org, geoffk at geoffk dot org,mrs at windriver dot com, tej at melbpc dot org dot au
<<Actually there is another approach. You could generate unwind stubs
similar to exception handling, with a table indexed by program counter
to the stubs. For most program addresses the stub would be empty, but
for certain places where only an offset address is present, the stub
would generate the non-offset address.
This has the advantage that no optimisation is penalised. It's quite
complex to implement though.
>>
Well it's a step along the route to type accurate GC, and really if you
even contemplate going this far, you may as well go all the way.