Bug#1142039: gcc-snapshot: Please add patch to enable LRA by default on m68k
John Paul Adrian Glaubitz <[email protected]> Tue, 14 Jul 2026 09:42:05 +0200
| Newsgroups | gmane.linux.debian.ports.68k |
|---|---|
| Message-ID | <178401492567.1970487.7304087208255001515.reportbug__27876.5066455648$1784015132$gmane$org@login1.physik.fu-berlin.de> |
This is a multi-part MIME message sent by reportbug. --===============7291824754074304754== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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? Thanks, Adrian > [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d9d70a5fbbe25ddbed66c05b9ec04fe97a23059f -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 --===============7291824754074304754== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="m68k-lra-enable.diff" From: John Paul Adrian Glaubitz <[email protected]> Date: Wed, 25 Feb 2026 19:55:38 +0100 Subject: [PATCH] m68k: Enable LRA by default --- gcc/config/m68k/m68k.opt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gcc/config/m68k/m68k.opt b/src/gcc/config/m68k/m68k.opt index 7558ce1b9c7..a3467664a12 100644 --- a/src/gcc/config/m68k/m68k.opt +++ b/src/gcc/config/m68k/m68k.opt @@ -147,7 +147,7 @@ Target RejectNegative Mask(LONG_JUMP_TABLE_OFFSETS) Use 32-bit offsets in jump tables rather than 16-bit offsets. mlra -Target Var(m68k_lra_p) Undocumented +Target Var(m68k_lra_p) Init(1) Save Use LRA for reload instead of the old reload framework. This option is experimental, and it may be removed in future versions of the compiler.