From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sho Takemori Newsgroups: gmane.emacs.bugs Subject: bug#23528: 25.0.93; Errors are ignored if I load eieio and evaluate the byte-compiled form Date: Fri, 13 May 2016 22:50:04 +0900 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ceae646782f0532b98ddf X-Trace: ger.gmane.org 1463147487 12224 80.91.229.3 (13 May 2016 13:51:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 May 2016 13:51:27 +0000 (UTC) To: 23528@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 13 15:51:19 2016 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 1b1DUm-0004qQ-UZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 15:51:13 +0200 Original-Received: from localhost ([::1]:34599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1DUm-0005Lp-2p for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 May 2016 09:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1DUh-0005I9-2o for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 09:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1DUc-0000xI-P6 for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 09:51:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1DUc-0000xD-L6 for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 09:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b1DUc-0003Mz-Dj for bug-gnu-emacs@gnu.org; Fri, 13 May 2016 09:51:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Sho Takemori Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 May 2016 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23528 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23528-submit@debbugs.gnu.org id=B23528.146314741212871 (code B ref 23528); Fri, 13 May 2016 13:51:02 +0000 Original-Received: (at 23528) by debbugs.gnu.org; 13 May 2016 13:50:12 +0000 Original-Received: from localhost ([127.0.0.1]:49657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1DTo-0003LX-9i for submit@debbugs.gnu.org; Fri, 13 May 2016 09:50:12 -0400 Original-Received: from mail-oi0-f43.google.com ([209.85.218.43]:35501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1DTm-0003LI-17 for 23528@debbugs.gnu.org; Fri, 13 May 2016 09:50:10 -0400 Original-Received: by mail-oi0-f43.google.com with SMTP id x19so170981586oix.2 for <23528@debbugs.gnu.org>; Fri, 13 May 2016 06:50:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=rDwEVsVQdn/Ai5Lks2ogZdHSSJVnTQ8VlhUDT02Fua8=; b=GL56Eu7yV3Axo4MgYy82iW5kb5hA1WrhoLO7mM5bdRXWX8yhi0WHPdR2JLXTaRY25e xJXMOXeujFcs6uhaDkw/5c+Sks9jspO1iifHjXdMi1LpsbqZTM3fO3YIe2t4ojAqrZrB rmW/ISufhdGotzie1O34r6d+33tgjzKjX7rcnGkZir9e24BYEcALkDu2jA0QTJPwpPMP D88rSPb8xTclQuS4e5zSHsRDk25Z9GGVFXnYdH4ad0nE8SVwcUCEksAlRVS+/KvHX8wG 5FZmb1BAwJK4rrQkBQlg5giVr0iq7eWnKo275Wv+qkf0psODzy5NVRKY5mg15BVzf6i4 KyYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=rDwEVsVQdn/Ai5Lks2ogZdHSSJVnTQ8VlhUDT02Fua8=; b=PX11f/r74+OzBqwVoDBRBjDzKN9QqLL73C/3UwRcbJBWudrRwHq3UIQzmWs8tqSqNF qw/TgKvxMkztI7L19XSLuVt8qAJmXU2b6KSaBtwN2/hML3KxfCUmKvmSbWYQNdmD4q1c g9i7XgLAlC8fFfpi0dzBDCe89E1lxRKSsHx197RNxXDZyo9uR2beLVhtXJ31uQdlXf/s lG2j5mXm9k9qHcLctXjnuRVyzgwvJUl8SDx9EhQQdrEVwQv9csUd89VoPwsapQrQ8pkB ypRn51R4dZozSwOoOmpYzLJMwIFfqQbNdVWPbrsatN+nUtYiX+uCeaVa7YDLKM46N3K8 NoXw== X-Gm-Message-State: AOPr4FU3HlT97En0zp9Uu7Q5WqkCjYoL+B8ZZzHRL696r/f0URTLFN1Y63pl4iMRvWTTTneVeksNOXES9wBEEA== X-Received: by 10.202.178.135 with SMTP id b129mr7610311oif.139.1463147404095; Fri, 13 May 2016 06:50:04 -0700 (PDT) Original-Received: by 10.157.35.43 with HTTP; Fri, 13 May 2016 06:50:04 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:118196 Archived-At: --001a113ceae646782f0532b98ddf Content-Type: text/plain; charset=UTF-8 I narrow down the problem. If I load the following code which is taken from eieio-core.el, line 84, (I added (require 'cl-lib)) then (progn (byte-compile 'my-this-should-raise-error) (my-this-should-raise-error)) does not raise an error. (progn (require 'cl-lib) ;; Arrange for field access not to bother checking if the access is indeed ;; made to an eieio--class object. (cl-declaim (optimize (safety 0))) (cl-defstruct (eieio--class (:constructor nil) (:constructor eieio--class-make (name)) (:include cl--class) (:copier nil)) children initarg-tuples ;; initarg tuples list (class-slots nil :type eieio--slot) class-allocation-values ;; class allocated value vector default-object-cache ;; what a newly created object would look like. ; This will speed up instantiation time as ; only a `copy-sequence' will be needed, instead of ; looping over all the values and setting them from ; the default. options ;; storage location of tagged class option ; Stored outright without modifications or stripping ) ;; Set it back to the default value. (cl-declaim (optimize (safety 1)))) Best regards, Sho Takemori --001a113ceae646782f0532b98ddf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I narrow down the problem.

If I load the following code which is taken from eieio-core.el, line 84,= (I added (require 'cl-lib))
then (progn (byte-compile 'my-this-= should-raise-error) (my-this-should-raise-error))
does not raise an erro= r.

(progn
(require 'cl-lib)
;; Arrange for field access not to = bother checking if the access is indeed
;; made to an eieio--class obje= ct.
(cl-declaim (optimize (safety 0)))

(cl-defstruct (eieio--class
(:constructor nil)
(:constructor eie= io--class-make (name))
(:include cl--class)
(:copier nil))
chil= dren
initarg-tuples ;; initarg tuples list
(class-slots nil :type e= ieio--slot)
class-allocation-values ;; class allocated value vector
= default-object-cache ;; what a newly created object would look like.
;= This will speed up instantiation time as
; only a `copy-sequence' = will be needed, instead of
; looping over all the values and setting th= em from
; the default.
options ;; storage location of tagged class = option
; Stored outright without modifications or stripping
)
;= ; Set it back to the default value.
(cl-declaim (optimize (safety 1))))=

Best regards,
Sho Takemori

--001a113ceae646782f0532b98ddf--