[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57957: 29.0.50; Native compilation hangs on cyclic lists
From: |
Gerd Möllmann |
Subject: |
bug#57957: 29.0.50; Native compilation hangs on cyclic lists |
Date: |
Thu, 22 Sep 2022 18:41:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
Andrea Corallo <akrl@sdf.org> writes:
>>>>From Common Lisp I can say that these functions expect a "tree",
>> i.e. not a circular list.
>
> Okay I tried an adhoc substitute but this is not the only place in the
> compiler not robust against cyclic lists, so more work will be needed.
The question is of course also how much effort circular lists deserve in
the compiler. From my point of view, not too much because they aren't
very useful, in code at least. And dealing with them costs runtime.
Maybe some places could use cl-list-length? That function deals with
circular lists and returns nil then. We could then refuse to compile.
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Lars Tveito, 2022/09/20
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Lars Ingebrigtsen, 2022/09/20
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Andrea Corallo, 2022/09/21
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Lars Ingebrigtsen, 2022/09/22
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Gerd Möllmann, 2022/09/22
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Andrea Corallo, 2022/09/22
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists,
Gerd Möllmann <=
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Stefan Monnier, 2022/09/22
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Andrea Corallo, 2022/09/22
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Basil L. Contovounesios, 2022/09/25
- bug#57957: 29.0.50; Native compilation hangs on cyclic lists, Stefan Monnier, 2022/09/22