[Bug rtl-optimization/123853] [15/16/17 Regression] [m68k] GCC causes glibc locale generation to fail

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Jun 6 16:52:11 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123853

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #18 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Created attachment 64643
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64643&action=edit
patch I'm testing

Patch to reject the problematic insns by adding a predicate to detect them and
check it in the conditions for the *movsi_m68k and *movsi_m68k2 insns.  If
someone knows of a better way please let me know.  Only lightly tested so far,
but seems to do the right thing on the test case in #c11.

I'm going to bootstrap and regression test this natively on Aranym, but that
will take weeks as I need to establish a current baseline first.


More information about the Gcc-bugs mailing list