Subject: bug#51474: commit 0aa9f478e962e3e fails to compile on Linux/x86-64 Ubuntu 21.10

From: Eli Zaretskii <[email-masked]>
Date: Fri, 29 Oct 2021 09:32:26 +0300

> Date: Fri, 29 Oct 2021 07:18:53 +0200
> From: Basile Starynkevitch <[email-masked]>
> 
> './configure'  '--program-suffix=-trunk' 'CFLAGS=-O2 -g'
> 
> and the build fails (repeatedly)
> 
>  Loading /usr/src/Editors/emacs/lisp/emacs-lisp/syntax.el (source)...
> Loading /usr/src/Editors/emacs/lisp/font-lock.el (source)...
> Loading /usr/src/Editors/emacs/lisp/jit-lock.el (source)...
> Loading /usr/src/Editors/emacs/lisp/mouse.el (source)...
> Loading /usr/src/Editors/emacs/lisp/scroll-bar.el (source)...
> Loading /usr/src/Editors/emacs/lisp/select.el (source)...
> Loading /usr/src/Editors/emacs/lisp/emacs-lisp/timer.el (source)...
> Loading /usr/src/Editors/emacs/lisp/emacs-lisp/easymenu.el (source)...
> Loading /usr/src/Editors/emacs/lisp/isearch.el (source)...
> Loading /usr/src/Editors/emacs/lisp/rfn-eshadow.el (source)...
> Loading /usr/src/Editors/emacs/lisp/menu-bar.el (source)...
> make[1]: *** [Makefile:858: bootstrap-emacs.pdmp] Segmentation fault (core dumped)
> make[1]: Leaving directory '/usr/src/Editors/emacs/src'
> 
> When gcc is version 11.2 from Ubuntu 

I tried to fix this a few minutes ago, please see if the problem is
now gone.

Thanks.