This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Representing EH in GENERIC
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Diego Novillo <dnovillo at redhat dot com>, "Jeffrey A. Law" <law at redhat dot com>, gcc at gcc dot gnu dot org
- Date: 02 Dec 2002 12:42:47 -0200
- Subject: Re: Representing EH in GENERIC
- Organization: GCC Team, Red Hat
- References: <wvlk7iybyo7.fsf@prospero.boston.redhat.com><20021127195546.GD31043@redhat.com><wvl3cpmbm0i.fsf@prospero.boston.redhat.com><20021128003356.GB31319@redhat.com><wvladjtnie0.fsf@prospero.boston.redhat.com>
On Nov 29, 2002, Jason Merrill <jason@redhat.com> wrote:
> A related question is whether to group multiple catch clauses together or
> break them up
You can't really break them up. Consider that the body of catch (int)
may throw. You don't want catch (...) to catch that.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer