This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __attribute__((cleanup(function)) versus try/finally
On Tue, May 13, 2003 at 06:14:35PM -0700, Geoff Keating wrote:
> I wasn't thinking of changing the prologue at all; the plan would be
> to make the object-code reader sufficiently robust that it can handle
> most routines, and to include a check for whether this particular
> routine can be handled by the object-code reader. The reader would
> do things like skip over opcodes that it didn't understand.
I don't like this at all. There's no way we can make
this *that* robust. You need to have prologues in a
canonical form, no shrink-wrapping, no complicated block
reordering, etc.
r~