This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [basic-improvements] try/finally support for c/c++
- From: Matt Austern <austern at apple dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>, Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org, jakub at redhat dot com, jason at redhat dot com, drepper at redhat dot com
- Date: Wed, 6 Nov 2002 09:12:15 -0800
- Subject: Re: [basic-improvements] try/finally support for c/c++
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