This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: May I propose an extension and ask how difficult this would be?
On Sat, Nov 20, 1999 at 10:32:02PM +0100, Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr> wrote:
> Marc Lehmann <pcg@opengroup.org> writes:
>
> | On Fri, Nov 19, 1999 at 06:31:47PM -0800, Jason Merrill <jason@cygnus.com> wrote:
> | > FWIW, exception specifications are generally regarded in the committee as a
> | > failed idea, and most people recommend that you not use them.
> |
> | However, wouldn't exception specifications allow better optimizing (esp.
> | "throw ()")?
>
> How so?
Maybe by being able to reorder more aggressively (this depends on the
exact semantics of C++ exceptions which I admit to not know for sure).
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@opengroup.org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|