Bug#1142039: gcc-snapshot: Please add patch to enable LRA by default on m68k

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.gcc
Message-ID <anJupehaClMpIjXv__21612.8578920447$1785884484$gmane$org@localhost>
On Tue, Jul 14, 2026 at 09:42:05AM +0200, John Paul Adrian Glaubitz wrote:
> Source: gcc-snapshot
> Version: 1:20260705-1
> Severity: normal
> Tags: patch
> X-Debbugs-Cc: [email protected]
> User: [email protected]
> Usertags: m68k
> 
> Hi,
> 
> after one of the last show stoppers for switching the m68k backend to the new
> LRA register allocator was resolved yesterday [1], I think we should finally
> take the leap now and enable LRA on m68k.
> 
> The attached patch does exactly that and applies against the gcc-snapshot
> package cleanly.
> 
> Can you please include it for the next gcc-snapshot upload?
>...

Apparently this was applied against gcc-16:

https://tracker.debian.org/news/1776755/accepted-gcc-16-1610-3-source-into-unstable/
   * Enable LRA by default on m68k for snapshot builds (Adrian Glaubitz).
     Addresses: #1142039.

https://buildd.debian.org/status/fetch.php?pkg=gcc-16&arch=m68k&ver=16.1.0-3&stamp=1785220565&raw=0
  Applying patch m68k-lra-enable.diff
  patching file src/gcc/config/m68k/m68k.opt

I suspect this might be the reason why gcc-16 16.1.0-3 started to FTBFS 
on m68k.

cu
Adrian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.