Subject: bug#72279: [PATCH] Non-local exits from outside the lexical scope are caught by cl-block

From: Stefan Kangas <[email-masked]>
Date: Mon, 3 Mar 2025 18:18:27 -0800

Andrea Corallo <[email-masked]> writes:

> Unused catches are a problem because they bloat bytecode unnecessary,
> also they prevent a number of optimizations in the native compiler as
> well.  Essentially every time you have a landing pad like a catch you
> cannot make assumptions on where you are landing from and what's the
> state of your machine.
>
> It's very important we keep on removing unnecessary catches, that's why
> I was asking in my previous mail.

What constitutes an "unnecessary catch"?  Just unused ones, or all
catches?