GNU bug report logs - #26124
26.0.50; Byte compiler reports its bug

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Thu, 16 Mar 2017 12:12:01 UTC

Severity: normal

Tags: fixed

Found in version 26.0.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26124 in the body.
You can then email your comments to 26124 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#26124; Package emacs. (Thu, 16 Mar 2017 12:12:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 16 Mar 2017 12:12:01 GMT) Full text and rfc822 format available.

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

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Byte compiler reports its bug
Date: Thu, 16 Mar 2017 21:10:53 +0900
When I byte compile FLIM's mel.el (*1), compiler output error message
as below.
(*1) https://github.com/wanderlust/flim

> In toplevel form:
> mel.el:175:15:Warning: reference to free variable
>     ‘mel-b-builtin-garbage-strategy’
> mel.el:357:48:Error: Compiler bug: depth conflict at tag 4

If I start Emacs and set byte-compile-cond-use-jump-table variable to
nil, compilation succeeds.

-- 
Kazuhiro Ito




Added indication that bug 26124 blocks24655 Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 16 Mar 2017 17:57:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26124; Package emacs. (Sun, 19 Mar 2017 05:14:01 GMT) Full text and rfc822 format available.

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

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: 26124 <at> debbugs.gnu.org
Subject: Re: bug#26124: 26.0.50; Byte compiler reports its bug
Date: Sun, 19 Mar 2017 14:13:36 +0900
> When I byte compile FLIM's mel.el (*1), compiler output error message
> as below.
(snip)
> If I start Emacs and set byte-compile-cond-use-jump-table variable to
> nil, compilation succeeds.

Here is the minimal recipe.

1. Write .el file contains below codes.

(defsubst test1 (c m)
  (and (eq c 1)
       (cond ((eq m 1) t)
	     ((eq m 2)
	      (not (not c))))))

(defun test2 (c m)
  (test1 c m))

2. Byte-compile the file.

-- 
Kazuhiro Ito




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26124; Package emacs. (Sat, 03 Jun 2017 03:05:02 GMT) Full text and rfc822 format available.

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

From: npostavs <at> users.sourceforge.net
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 26124 <at> debbugs.gnu.org
Subject: Re: bug#26124: 26.0.50; Byte compiler reports its bug
Date: Fri, 02 Jun 2017 23:05:37 -0400
tags 26124 fixed
close 26124 
quit

Kazuhiro Ito <kzhr <at> d1.dion.ne.jp> writes:

> Here is the minimal recipe.
>
> 1. Write .el file contains below codes.
>
> (defsubst test1 (c m)
>   (and (eq c 1)
>        (cond ((eq m 1) t)
> 	     ((eq m 2)
> 	      (not (not c))))))
>
> (defun test2 (c m)
>   (test1 c m))
>
> 2. Byte-compile the file.

This seems to be fixed now.




Added tag(s) fixed. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 03 Jun 2017 03:05:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26124 <at> debbugs.gnu.org and Kazuhiro Ito <kzhr <at> d1.dion.ne.jp> Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 03 Jun 2017 03:05:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Jul 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 272 days ago.

Previous Next


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