GNU bug report logs - #76559
31.0.50; [-O3 + PGTK] Crash when 'copying as kill'/'killing word'

Previous Next

Package: emacs;

Reported by: Iurie Marian <marian.iurie <at> gmail.com>

Date: Tue, 25 Feb 2025 17:34:01 UTC

Severity: normal

Merged with 76729

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>, Pip Cet <pipcet <at> protonmail.com>
Cc: iura.mail <at> gmail.com, michael.albinus <at> gmx.de, marian.iurie <at> gmail.com, 76559 <at> debbugs.gnu.org
Subject: bug#76559: 31.0.50; [-O3 + PGTK] Crash when 'copying as kill'/'killing word'
Date: Thu, 27 Feb 2025 10:41:30 +0200
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: Iurie Marian <marian.iurie <at> gmail.com>,  michael.albinus <at> gmx.de,
>   iura.mail <at> gmail.com,  76559 <at> debbugs.gnu.org
> Date: Thu, 27 Feb 2025 13:36:59 +0800
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >  Po Lu, any suggestions or ideas?
> 
> I replied to Pip Cet.  It's likely a GCC bug, and one which I cannot
> reproduce in 14.2.1 or the recentest GCC 15 snapshot, rather than
> undefined behavior in any sense...

Thanks.

I believe we should recommend against using -O3.  Too many bad bugs
happened recently, especially in the latest and hottest versions of
GCC to justify such a recommendation.  Especially since using -O3 is
extremely unlikely to produce tangible performance advantages (if
someone has data to the contrary, I'd be interested in seeing it), due
to very large inner loops in our code.  Moreover, the excessive
inlining affected by -O3 could well cause CPU caches to overflow, so
it could well be a net loss in performance.




This bug report was last modified 109 days ago.

Previous Next


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