From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#8033: 24.0.50; Number type error in byte compiler Date: Mon, 14 Feb 2011 00:43:03 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1297663618 16231 80.91.229.12 (14 Feb 2011 06:06:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2011 06:06:58 +0000 (UTC) To: 8033@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 14 07:06:49 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PoraB-0006XG-71 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Feb 2011 07:06:47 +0100 Original-Received: from localhost ([127.0.0.1]:41095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoraA-0000d9-JB for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Feb 2011 01:06:46 -0500 Original-Received: from [140.186.70.92] (port=53418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PorZz-0000bx-S7 for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 01:06:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PorZy-00070a-Ng for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 01:06:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PorZy-00070W-KH for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 01:06:34 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Por5R-00015a-Ri; Mon, 14 Feb 2011 00:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Feb 2011 05:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8033 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.12976616534094 (code B ref -1); Mon, 14 Feb 2011 05:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2011 05:34:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Por4f-00013y-Kh for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:34:13 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Por4d-00013h-DK for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:34:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PorDH-0003ym-8j for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:43:08 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:53048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PorDH-0003yf-5I for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:43:07 -0500 Original-Received: from [140.186.70.92] (port=55941 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PorDG-0000uh-4k for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PorDE-0003yD-Fq for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:05 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:51698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PorDE-0003y4-4u for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:04 -0500 Original-Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PorDD-00049n-OS for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 14 Feb 2011 00:35:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44109 Archived-At: I originally reported this as a Gnus bug, but turns out it's a bug in the byte compiler. To reproduce, create a file with the following contents: (defvar foo 1.0) (defun foo () (interactive) (if (and (equal foo 1.0) (equal foo 1)) (error "Object is `equal' to both a float and an integer"))) Then, in the shell: ~ $ emacs -Q -batch -f batch-byte-compile foo.el ~ $ emacs -Q -batch -l foo.elc -f foo Object is `equal' to both a float and an integer The error does not show up in Emacs 23.x, so it must have been introduced relatively recently on the trunk. In GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-02-14 on furball Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure 'CC=gcc' 'CFLAGS=-g'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t