all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#26124: 26.0.50; Byte compiler reports its bug
@ 2017-03-16 12:10 Kazuhiro Ito
  2017-03-19  5:13 ` Kazuhiro Ito
  0 siblings, 1 reply; 3+ messages in thread
From: Kazuhiro Ito @ 2017-03-16 12:10 UTC (permalink / raw)
  To: 26124

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26124: 26.0.50; Byte compiler reports its bug
  2017-03-16 12:10 bug#26124: 26.0.50; Byte compiler reports its bug Kazuhiro Ito
@ 2017-03-19  5:13 ` Kazuhiro Ito
  2017-06-03  3:05   ` npostavs
  0 siblings, 1 reply; 3+ messages in thread
From: Kazuhiro Ito @ 2017-03-19  5:13 UTC (permalink / raw)
  To: 26124

> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#26124: 26.0.50; Byte compiler reports its bug
  2017-03-19  5:13 ` Kazuhiro Ito
@ 2017-06-03  3:05   ` npostavs
  0 siblings, 0 replies; 3+ messages in thread
From: npostavs @ 2017-06-03  3:05 UTC (permalink / raw)
  To: Kazuhiro Ito; +Cc: 26124

tags 26124 fixed
close 26124 
quit

Kazuhiro Ito <kzhr@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-03  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-16 12:10 bug#26124: 26.0.50; Byte compiler reports its bug Kazuhiro Ito
2017-03-19  5:13 ` Kazuhiro Ito
2017-06-03  3:05   ` npostavs

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.