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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needs-bisection
      Known to fail|                            |15.2.1

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Replacing the assembler file with

.globl allow_unaligned
        allow_unaligned:

 jmp red_led_on
 movq board_init_r, %rax

allows reproducing with GCC 15 on x86_64 (I guess it just needs references
and defs):

121588> gcc-15 -nostdlib -nostartfiles -flto -std=gnu11 -Os a-sctlr.s board_r.i
efi_setup.i
during IPA pass: icf
lto1: internal compiler error: Segmentation fault
0x145565840e6b __libc_start_call_main
        ???:0
0x145565840f34 __libc_start_main_alias_1
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.opensuse.org/> for instructions.
lto-wrapper: fatal error: gcc-15 returned 1 exit status

but between r16-5962 (ICE) and r16-6736 (no ICE) that got fixed.  Does
it still ICE for arm?  Can somebody guess/bisect what fixed it?  It's
still broken on the 15 branch head.

Reply via email to