GNU bug report logs - #57957
29.0.50; Native compilation hangs on cyclic lists

Previous Next

Package: emacs;

Reported by: Lars Tveito <larstvei <at> ifi.uio.no>

Date: Tue, 20 Sep 2022 14:28:02 UTC

Severity: normal

Tags: confirmed

Merged with 67883, 69872

Found in versions 29.0.50, 29.1.90, 29.2

Done: Andrea Corallo <acorallo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 57957 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Corallo <akrl <at> sdf.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 57957 <at> debbugs.gnu.org, Lars Tveito <larstvei <at> ifi.uio.no>
Subject: Re: bug#57957: 29.0.50; Native compilation hangs on cyclic lists
Date: Wed, 21 Sep 2022 19:18:55 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Lars Tveito <larstvei <at> ifi.uio.no> writes:
>
>> Evaluating the two following forms results in Emacs hanging:
>>
>> (defun test-cycle ()
>>   '#1=(a . #1#))
>>
>> (native-compile 'test-cycle)
>
> It seems to be inflooping in comp-ssa-rename.  A debug-on-quit backtrace
> included below.
>
> I've added Andrea to the CCs; perhaps he has some comments.

I see nor cl-nsubst-if nor cl-subst-if are robust against cyclic lists.
Is this a bug in cl-lib or is it expected?  In case I'll add an ad-hoc
substitute for this use (if there's no other alternative).

  Andrea




This bug report was last modified 1 year and 49 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.