[basic-improvements] try/finally support for c/c++
Matt Austern
austern@apple.com
Wed Nov 6 09:11:00 GMT 2002
On Wednesday, November 6, 2002, at 09:08 AM, Aldy Hernandez wrote:
> I'mna let y'all discuss this. I was just the hacker, nothing else.
> Ulrich Drepper and rth asked me to work on this for Uli's libpthread
> rewrite for glibc. (Not that this is a valid argument, but a few
> other compilers have try/finally for C :-)).
>
> Meanwhile I'll keep iteracting with Joseph Myers, rth, etc over
> documentation changes ;-).
I hope the documentation will include a rationale, not just for
exceptions in general, but for the specific design decisions you
made. There are an awful lot of ways in which a language can
support exceptions, after all: why this way instead of one of all
the others?
I'm not necessarily opposed to this change, but mostly I want us
to recognize that what we're doing is language design and that it
ought to be treated as such. It's a much more drastic thing than
just adding a new optimization pass.
--Matt
More information about the Gcc-patches
mailing list