From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Mauro Aranda <maurooaranda@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#36566: 27.0.50; debug is sometimes horribly slow
Date: Sat, 14 Sep 2019 10:44:23 -0300
Message-ID: <CABczVwf8KkvA47HXz2tWWhVe2qDMnep1EwTUxXJ=VrGUH3cPqw@mail.gmail.com>
References: <87r26yvb4r.fsf@web.de> <871ryy2l1t.fsf@gmail.com>
 <87r26xjyon.fsf@web.de> <877e8llbzo.fsf@runbox.com>
 <8736ilaepu.fsf@runbox.com>
 <87h871u24i.fsf@gmail.com> <874l2vcrtn.fsf@runbox.com>
 <874l2eosa7.fsf@gmail.com>
 <87mufh8jj2.fsf@runbox.com> <87v9tza6gg.fsf@gmail.com>
 <875zlvj453.fsf@runbox.com>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="0000000000004efad805928392b2"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="169744"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: Michael Heerdegen <michael_heerdegen@web.de>, 36566@debbugs.gnu.org,
 Noam Postavsky <npostavs@gmail.com>, Stefan Monnier <monnier@iro.umontreal.ca>
To: Gemini Lasswell <gazally@runbox.com>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 14 15:45:30 2019
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([209.51.188.17])
	by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.89)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1i98Mj-000i0Q-Ev
	for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2019 15:45:29 +0200
Original-Received: from localhost ([::1]:50056 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>)
	id 1i98Mh-0000OG-Me
	for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2019 09:45:27 -0400
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39551)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1i98MK-0000Nk-0i
 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 09:45:05 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1i98MI-0001OV-Rw
 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 09:45:03 -0400
Original-Received: from debbugs.gnu.org ([209.51.188.43]:37207)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1i98MI-0001Na-LZ
 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 09:45:02 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1i98MI-0007dD-Ha
 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2019 09:45:02 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: Mauro Aranda <maurooaranda@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 14 Sep 2019 13:45:02 +0000
Resent-Message-ID: <handler.36566.B36566.156846868729304@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 36566
X-GNU-PR-Package: emacs
Original-Received: via spool by 36566-submit@debbugs.gnu.org id=B36566.156846868729304
 (code B ref 36566); Sat, 14 Sep 2019 13:45:02 +0000
Original-Received: (at 36566) by debbugs.gnu.org; 14 Sep 2019 13:44:47 +0000
Original-Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1i98M1-0007cY-Mr
 for submit@debbugs.gnu.org; Sat, 14 Sep 2019 09:44:47 -0400
Original-Received: from mail-lj1-f196.google.com ([209.85.208.196]:39045)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maurooaranda@gmail.com>) id 1i98Ly-0007cK-N7
 for 36566@debbugs.gnu.org; Sat, 14 Sep 2019 09:44:43 -0400
Original-Received: by mail-lj1-f196.google.com with SMTP id j16so29693840ljg.6
 for <36566@debbugs.gnu.org>; Sat, 14 Sep 2019 06:44:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; 
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=caie8DLYknpIAPaTeRb1YKidC0bnDX92xLl61RWO8No=;
 b=Me64ZwaN1BZGU3mzpTyrpQK0oPJtlsnihmX1Hpd/YNgSkzUi6WQJdS6A/e6PlEfus2
 kohul3bFgw+BdmbP/fk+igbmOUxoaJxSG5UYtWlZedZ81el9IFmSV+1dE/TEcRaaov9n
 4ylQKQHmsjtR/btmcz8wc0eocZ2v0/lOi1lrVRIDWCl/Pm8DK+8meutC8MI5dj4LDEsO
 MU0ETlHCjKv1zrSKgI3blQ9Ao/6h1malppDeRuTYaRSGDWGlKsTBdTHBSS7ACidjuqpA
 mTejXh5frYFznOPx211VmW0hgC16kgX2RGvBoeLtcvJdKj8c/WLLb8OP9/pqKb3qMTR6
 SdxQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=caie8DLYknpIAPaTeRb1YKidC0bnDX92xLl61RWO8No=;
 b=JJdpSyAP6yikBm7UOcoo/t6V2Jbyh4vekmcakq4a02+En1voQYGfrIfe9c/udsI1Sy
 AvSjKqeZ/T990eA7ShFUqt+sn8R6Oxqo6nQJjZgkgQIQAVvNNddl5x7Lxx7ixmEdtX+z
 lCUC7LAJ94aT5duo4WXKJ23OlqN3L9oZAimuXHCVpeapRK4JqFlHRNHDn35WEvPuONjZ
 A2rGgvFcjORs85pwDeqaM0Vnz4X/2TatsqoTL17jSD667p58HypSOqmJdnUGpSHutC9H
 1j0YBF9hshndkCX/S+GKG5QLXxmaF4fw4LiZOe0oETl/DIM8zXDgCuTNRkkmSgjNvbBA
 7huQ==
X-Gm-Message-State: APjAAAWSage3K2LsRlyGydQSTaVPauf0lTX0KGYYTqOnMWNuMnJAJY1b
 dZGgBLK35CWKRrUdPw5JSAmxtT8GwQUhJsRjoyA=
X-Google-Smtp-Source: APXvYqwqTuOt/puJGyTR2p3kQ49UuVTURAjtgxvm4507luWgeMvJGqUHwY2WPWGQeLnP8Xk3Bxka4zp9Jh/TCAIcAYE=
X-Received: by 2002:a2e:7801:: with SMTP id t1mr18675089ljc.140.1568468676572; 
 Sat, 14 Sep 2019 06:44:36 -0700 (PDT)
In-Reply-To: <875zlvj453.fsf@runbox.com>
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: 209.51.188.43
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: "bug-gnu-emacs"
 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.bugs:166449
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/166449>

--0000000000004efad805928392b2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

After commit 6eaf39d21b70802e6bc607ee2fc2fff67b79231a
Fix unnecessary hash table creation in cl-prin1 (bug#36566)

I can't build emacs with configure option
--enable-check-lisp-object-type.

This is the compilation error I get:
  CC       print.o
print.c: In function =E2=80=98print_preprocess=E2=80=99:
print.c:1155:4: error: invalid operands to binary || (have =E2=80=98int=E2=
=80=99 and
=E2=80=98Lisp_Object {aka struct Lisp_Object}=E2=80=99)
    || Vprint_continuous_numbering))     \
    ^
print.c:1188:7: note: in expansion of macro =E2=80=98PRINT_CIRCLE_CANDIDATE=
_P=E2=80=99
   if (PRINT_CIRCLE_CANDIDATE_P (obj))
       ^
print.c: In function =E2=80=98print_object=E2=80=99:
print.c:1155:4: error: invalid operands to binary || (have =E2=80=98int=E2=
=80=99 and
=E2=80=98Lisp_Object {aka struct Lisp_Object}=E2=80=99)
    || Vprint_continuous_numbering))     \
    ^
print.c:1866:12: note: in expansion of macro =E2=80=98PRINT_CIRCLE_CANDIDAT=
E_P=E2=80=99
   else if (PRINT_CIRCLE_CANDIDATE_P (obj))
            ^
Makefile:402: recipe for target 'print.o' failed
make[1]: *** [print.o] Error 1
make[1]: Leaving directory '/home/tbb/emacs/emacs/src'
Makefile:424: recipe for target 'src' failed
make: *** [src] Error 2

However, using plain ./configure && make
builds succesfully.

Previous commit builds, using the same option.
I add system information, as output by `report-emacs-bug':

In GNU Emacs 27.0.50 (build 4, i686-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2019-09-14 built on the-blackbeard
Repository revision: 5c40c21a47062782bc983f41e8eeb97180dca693
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Ubuntu 16.04.6 LTS

Configured using:
 'configure --enable-check-lisp-object-type'

--0000000000004efad805928392b2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">After commit 6eaf39d21b70802e6bc607ee2fc2fff67b79231a<br>F=
ix unnecessary hash table creation in cl-prin1 (bug#36566)<br><br>I can&#39=
;t build emacs with configure option<br>--enable-check-lisp-object-type.<br=
><br>This is the compilation error I get:<br>=C2=A0 CC =C2=A0 =C2=A0 =C2=A0=
 print.o<br>print.c: In function =E2=80=98print_preprocess=E2=80=99:<br>pri=
nt.c:1155:4: error: invalid operands to binary || (have =E2=80=98int=E2=80=
=99 and =E2=80=98Lisp_Object {aka struct Lisp_Object}=E2=80=99)<br>=C2=A0 =
=C2=A0 || Vprint_continuous_numbering)) =C2=A0 =C2=A0 \<br>=C2=A0 =C2=A0 ^<=
br>print.c:1188:7: note: in expansion of macro =E2=80=98PRINT_CIRCLE_CANDID=
ATE_P=E2=80=99<br>=C2=A0 =C2=A0if (PRINT_CIRCLE_CANDIDATE_P (obj))<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0^<br>print.c: In function =E2=80=98print_object=E2=
=80=99:<br>print.c:1155:4: error: invalid operands to binary || (have =E2=
=80=98int=E2=80=99 and =E2=80=98Lisp_Object {aka struct Lisp_Object}=E2=80=
=99)<br>=C2=A0 =C2=A0 || Vprint_continuous_numbering)) =C2=A0 =C2=A0 \<br>=
=C2=A0 =C2=A0 ^<br>print.c:1866:12: note: in expansion of macro =E2=80=98PR=
INT_CIRCLE_CANDIDATE_P=E2=80=99<br>=C2=A0 =C2=A0else if (PRINT_CIRCLE_CANDI=
DATE_P (obj))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^<br>Makefile:40=
2: recipe for target &#39;print.o&#39; failed<br>make[1]: *** [print.o] Err=
or 1<br>make[1]: Leaving directory &#39;/home/tbb/emacs/emacs/src&#39;<br>M=
akefile:424: recipe for target &#39;src&#39; failed<br>make: *** [src] Erro=
r 2<br><br><div>However, using plain ./configure &amp;&amp; make</div><div>=
builds succesfully.</div><div><br></div><div>Previous commit builds, using =
the same option.</div><div>I add system information, as output by `report-e=
macs-bug&#39;:</div><br>In GNU Emacs 27.0.50 (build 4, i686-pc-linux-gnu, G=
TK+ Version 3.18.9)<br>=C2=A0of 2019-09-14 built on the-blackbeard<br>Repos=
itory revision: 5c40c21a47062782bc983f41e8eeb97180dca693<br>Repository bran=
ch: HEAD<br>Windowing system distributor &#39;The X.Org Foundation&#39;, ve=
rsion 11.0.11906000<br>System Description: Ubuntu 16.04.6 LTS<br><br>Config=
ured using:<br>=C2=A0&#39;configure --enable-check-lisp-object-type&#39;<br=
></div>

--0000000000004efad805928392b2--