From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#26597: 25.1; Compilation error on master with --enable-check-lisp-object-type Date: Sat, 22 Apr 2017 16:36:11 +0300 Message-ID: <83a878r2d0.fsf@gnu.org> References: <83mvb8riq0.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1492868174 28996 195.159.176.226 (22 Apr 2017 13:36:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 22 Apr 2017 13:36:14 +0000 (UTC) Cc: 26597@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 22 15:36:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1vCq-0007Qp-D7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 15:36:08 +0200 Original-Received: from localhost ([::1]:35669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1vCw-0007zE-54 for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Apr 2017 09:36:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1vCp-0007z3-BQ for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 09:36:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1vCl-0000iG-9a for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 09:36:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35086) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1vCl-0000iC-1D for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 09:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d1vCk-0003tx-Gd for bug-gnu-emacs@gnu.org; Sat, 22 Apr 2017 09:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Apr 2017 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26597-submit@debbugs.gnu.org id=B26597.149286814214964 (code B ref 26597); Sat, 22 Apr 2017 13:36:02 +0000 Original-Received: (at 26597) by debbugs.gnu.org; 22 Apr 2017 13:35:42 +0000 Original-Received: from localhost ([127.0.0.1]:33284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1vCQ-0003tI-CP for submit@debbugs.gnu.org; Sat, 22 Apr 2017 09:35:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1vCO-0003t4-Bs for 26597@debbugs.gnu.org; Sat, 22 Apr 2017 09:35:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1vCE-0000fP-31 for 26597@debbugs.gnu.org; Sat, 22 Apr 2017 09:35:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1vCD-0000fL-Vx; Sat, 22 Apr 2017 09:35:30 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3533 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d1vCB-0007g2-LV; Sat, 22 Apr 2017 09:35:29 -0400 In-reply-to: (message from Philipp Stephani on Sat, 22 Apr 2017 11:57:11 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:131864 Archived-At: > From: Philipp Stephani > Date: Sat, 22 Apr 2017 11:57:11 +0000 > > > (Tangentially, is there any reason not to define Lisp_Object as struct > > unconditionally, to avoid such coding errors?) > > Yes, it produces slower code. > > Are you sure that's still the case? I've just diffed the assembly output for editfns.c with and without > --enable-check-lisp-object-type, they seem identical (apart from minor diffs due to different register allocation > and instruction ordering). Replacing a primitive value with a struct containing such a value should never > degrade performance; that would be a compiler bug. On what OS/architecture, and with what compiler options? in any case, if you want to raise this issue, please post to emacs-devel, not here.