GNU bug report logs - #26824
24.5; Bytecode overflow error when byte compiling large .el file

Previous Next

Package: emacs;

Reported by: Christian Wittern <cwittern <at> gmail.com>

Date: Mon, 8 May 2017 07:04:01 UTC

Severity: minor

Merged with 49718

Found in versions 24.5, 28.0.50

Full log


Message #26 received at 26824 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Glenn Morris <rgm <at> gnu.org>
Cc: Christian Wittern <cwittern <at> gmail.com>, 26824 <at> debbugs.gnu.org
Subject: Re: bug#26824: 24.5;
 Bytecode overflow error when byte compiling large .el file
Date: Mon, 15 May 2017 23:21:59 -0400
I see the code triggering this has a FIXME on it:

      ;; FIXME: Replace this by some workaround.
      (if (> (car bytes-tail) 255) (error "Bytecode overflow"))

What workarounds could we use?  Introduce a new jump opcode with a 4
byte operand?  Or daisy chain a bunch of relative jumps?  Both of these
seem a bit extreme for a pretty rare edge case.




This bug report was last modified 3 years and 193 days ago.

Previous Next


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