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

            Bug ID: 122624
           Summary: [Trunk] AArch64: Miscompile at -O2 with _BitInt
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xxs_chy at outlook dot com
  Target Milestone: ---

Created attachment 62749
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62749&action=edit
reproducer

Reproducer is attached.

gcc version 16.0.0 20251109 (experimental) (crosstool-NG 1.28.0_rc1)
qemu-aarch64 version 10.1.50 (v10.1.0-846-g29b77c1a2d)

Commands:
> aarch64-unknown-linux-musl-gcc -O0/O1/O3 -static reduced.c && qemu-aarch64 
> a.out
> BackSmith Checksum = 0x4fdb774546039890

Commands:
> aarch64-unknown-linux-musl-gcc -O2 -static reduced.c && qemu-aarch64 a.out
> BackSmith Checksum = 0x00000000efbffa96

Reply via email to