From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#20427: bug in optimizing compiler? Date: Mon, 27 Apr 2015 00:04:05 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430107535 8207 80.91.229.3 (27 Apr 2015 04:05:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 04:05:35 +0000 (UTC) Cc: 20427-done@debbugs.gnu.org To: Rafael D Sorkin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 27 06:05:28 2015 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 1YmaIF-0003nE-Lt for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 06:05:15 +0200 Original-Received: from localhost ([::1]:52950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmaIE-00005Z-NP for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2015 00:05:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmaI9-0008Ve-8l for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:05:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmaI5-0006R2-7I for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:05:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmaI5-0006Qj-3q for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:05:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YmaI4-0004UN-TI for bug-gnu-emacs@gnu.org; Mon, 27 Apr 2015 00:05:04 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Apr 2015 04:05:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20427 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 20427@debbugs.gnu.org, monnier@iro.umontreal.ca, rsorkin@perimeterinstitute.ca Original-Received: via spool by 20427-done@debbugs.gnu.org id=D20427.143010745317170 (code D ref 20427); Mon, 27 Apr 2015 04:05:04 +0000 Original-Received: (at 20427-done) by debbugs.gnu.org; 27 Apr 2015 04:04:13 +0000 Original-Received: from localhost ([127.0.0.1]:40742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmaHE-0004Sr-Qu for submit@debbugs.gnu.org; Mon, 27 Apr 2015 00:04:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:6752) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmaHC-0004Sa-RC; Mon, 27 Apr 2015 00:04:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRMCqjW/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQJAQIBAoM+A4NwBKNjhFg X-IPAS-Result: AgUFAGvvdVRMCqjW/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQJAQIBAoM+A4NwBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="117502178" Original-Received: from 76-10-168-214.dsl.teksavvy.com (HELO ceviche.home) ([76.10.168.214]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Apr 2015 00:04:06 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 333BB6610A; Mon, 27 Apr 2015 00:04:05 -0400 (EDT) In-Reply-To: (Rafael D. Sorkin's message of "Sun, 26 Apr 2015 00:15:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:102081 Archived-At: tags 20427 notabug thanks > When I byte-compile a file containing the following code, with > optimization safety=0, the compiler deletes the assertion test. That's expected. Just like C's `assert', CL's `assert' can be compiled out depending on compilation options (in this case, depending on the `safety' setting). Stefan