From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shigeru Fukaya Newsgroups: gmane.emacs.bugs Subject: bug#18767: 24.4; incorrect byte-compile on arithmatic comparisons Date: Sun, 19 Oct 2014 04:58:31 +0900 Message-ID: <4CCFEB0DE4728Cshigeru.fukaya@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1413662434 16405 80.91.229.3 (18 Oct 2014 20:00:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2014 20:00:34 +0000 (UTC) To: 18767@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 18 22:00:26 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XfaAq-00052t-4U for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 22:00:24 +0200 Original-Received: from localhost ([::1]:37569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfaAp-0007vz-Sv for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 16:00:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfaAe-0007vt-7N for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 16:00:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfaAV-0003at-6I for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 16:00:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfaAV-0003ak-3F for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 16:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XfaAU-00041r-LM for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 16:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shigeru Fukaya Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Oct 2014 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141366235315401 (code B ref -1); Sat, 18 Oct 2014 20:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Oct 2014 19:59:13 +0000 Original-Received: from localhost ([127.0.0.1]:55310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xfa9g-00040K-K9 for submit@debbugs.gnu.org; Sat, 18 Oct 2014 15:59:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43717) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xfa9e-000406-M8 for submit@debbugs.gnu.org; Sat, 18 Oct 2014 15:59:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xfa9Q-0003SO-8h for submit@debbugs.gnu.org; Sat, 18 Oct 2014 15:59:05 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfa9Q-0003SK-5a for submit@debbugs.gnu.org; Sat, 18 Oct 2014 15:58:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfa9H-0007c9-4J for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 15:58:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xfa98-0003Qu-2n for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 15:58:47 -0400 Original-Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:65481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xfa97-0003Qq-P0 for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 15:58:38 -0400 Original-Received: by mail-pd0-f169.google.com with SMTP id w10so2636731pde.28 for ; Sat, 18 Oct 2014 12:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:mime-version:content-type :content-transfer-encoding:message-id; bh=0uiHmGUdO4xE4LXnAMvNNKyqZP2iHIg8jRZ6W9k45jw=; b=pbGuReCBq8yxvO6zVBk3dNx4ZtAPS6NPsnNGgzlvkbxw0HUAu0rhI7+gVYeegWGCEH wk6WQD9DVIKXAu8w40pEdGcf7firaXDRxaFVxbG7IS5j5V6qMyYEtQ/ncoo06Dt9HEtO 2qXSFsnXS15ff+75AWygBGXfhWhFURTFf5fFkGkZxJOWMKBXZpkD5s/8KDuGAjQ2SsJi pjuFZ00H1VO5LG7rj/JpdPepV9gOYWqMPkUIjkfJmg1l1uYv8L+TizmM4QohVkqKcxUQ 5KV4jSFeUL96latz10EjEseAdzQyBs7Ws3ywJ49925oHMeFoRExINxUxPOFDSHsXwCaD 4feg== X-Received: by 10.70.19.101 with SMTP id d5mr16821951pde.79.1413662315101; Sat, 18 Oct 2014 12:58:35 -0700 (PDT) Original-Received: from gmail.com (115x125x38x6.ap115.ftth.ucom.ne.jp. [115.125.38.6]) by mx.google.com with ESMTPSA id hp4sm4776505pbb.95.2014.10.18.12.58.32 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 18 Oct 2014 12:58:34 -0700 (PDT) X-Mailer: HidemaruMail 6.30 (WinNT,602) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94756 Hello, byte-compile of arithmatic comparison operators on more than two arguments is incorrect. (disassemble (lambda () (< (a) (b) (c)))) byte code: args: nil 0 constant a 1 call 0 2 constant b 3 call 0 4 lss 5 goto-if-nil-else-pop 1 8 constant b 9 call 0 10 constant c 11 call 0 12 lss 13:1 return Functions a, b, c should be called once respectively if the function has possibility of side effect. But b may be called twice, and c may not be called. I'm sorry for late report at the very time of release, but I noticed just now. Regards, Shigeru