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

Previous Next

Package: emacs;

Reported by: Thuna <thuna.cing <at> gmail.com>

Date: Wed, 24 Jul 2024 17:37:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Andrea Corallo <acorallo <at> gnu.org>
Cc: 72279 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>, Thuna <thuna.cing <at> gmail.com>
Subject: bug#72279: [PATCH] Non-local exits from outside the lexical scope are caught by cl-block
Date: Mon, 3 Mar 2025 18:18:27 -0800
Andrea Corallo <acorallo <at> gnu.org> 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?




This bug report was last modified 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.