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


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

From: Po Lu <luangruo <at> yahoo.com>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: Michael Albinus <michael.albinus <at> gmx.de>,
 Iurie Marian <marian.iurie <at> gmail.com>, 76559 <at> debbugs.gnu.org
Subject: Re: bug#76559: 31.0.50; [-O3 + PGTK] Crash when 'copying as
 kill'/'killing word'
Date: Sat, 01 Mar 2025 19:29:36 +0800
Pip Cet <pipcet <at> protonmail.com> writes:

> That does seem to be an actual bug, where SRA does the wrong thing if a
> function is marked with __attribute__ ((optimize (0))).  At first glance
> (-fdump-tree-sra-details) it seems like the whole-structure access in
> that function is ignored, which makes sense if the SRA pass isn't run
> for a non-optimized function but still assumes it has looked at all
> accesses.

Intraprocedural SRA is not so sophisticated as you assume, alas.  It
does not account for data flow at all, only decls and the operands of
GIMPLE statements throughout the totality of a procedure, and it is
undermined by quite a substantial oversight.




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.