On 22. Jun 2022, 18:20 +0200, Eli Zaretskii <eliz@gnu.org>, wrote:
I think the next step is to add the missing freeze_pattern calls and
see if that fixes the problem?
I think the missing freezes are 100% a bug, and they should be fixed.
Do you want to do that or should I?
(BTW, I just now noticed the "->buf" at the end of the "bufp = &compile_pattern (regexp,...)" that I complained about. That explains it. Nice :-/.)
Another side question, if I may: Have you perhaps heard of someone producing a static call graph for Emacs, or better yet, specific functions in Emacs? Maybe using objdump -D or something similar?