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 wrote:
> | However, wouldn't exception specifications allow better optimizing (esp.
> | "throw ()")?
>
> How so?
A call that may throw by definition ends a basic block, since there
is more than one flow of control possible. The optimizations from
which we derive the most benefit act only on a single basic block,
so the fewer and larger basic blocks we have, the better we can do.
r~