__attribute__((cleanup(function)) versus try/finally

Richard Henderson rth@redhat.com
Wed May 14 07:41:00 GMT 2003


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~



More information about the Gcc mailing list