From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 35E793942008; Sun, 2 Jun 2024 22:12:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 35E793942008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717366366; bh=WMUnjmohV52qjRONeJYGiTIaWSAcgsciS1aqwzNGr+Q=; h=From:To:Subject:Date:From; b=r5GKmaedGkOVz11WhU8BnDipbzIwpARJYQKkgoIace/nU8tSzGmMtsnl0WcZ1H2eW XwjyUchzJfjJwSYvVJZhcROwJ3qLz6GhX60GOiZYj8w2EjpZFXcWSHQ9G+Yar/sA9v egHV0QfMYnKPZeZSE0UVHIUBtBHg5k4UqL0AvH1A= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115321] New: [15 regression] ICE when building grub (extract_insn, at recog.cc:2812) Date: Sun, 02 Jun 2024 22:12:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D115321 Bug ID: 115321 Summary: [15 regression] ICE when building grub (extract_insn, at recog.cc:2812) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 58326 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D58326&action=3Dedit pgp_module-pgp.i ``` $ gcc -c ./commands/pgp_module-pgp.i -m32 -march=3Di386 In file included from /var/tmp/portage/sys-boot/grub-2.12-r4/work/grub-2.12/grub-core/commands/pg= p.c:19: /var/tmp/portage/sys-boot/grub-2.12-r4/work/grub-2.12/include/grub/types.h:= In function =E2=80=98grub_swap_bytes32=E2=80=99: /var/tmp/portage/sys-boot/grub-2.12-r4/work/grub-2.12/include/grub/types.h:= 218:1: error: unrecognizable insn: 218 | } | ^ (insn 5 2 6 2 (set (reg:SI 101) (ior:SI (and:SI (mem/c:SI (reg/f:SI 92 virtual-incoming-args) [2 x+= 0 S4 A32]) (const_int -65536 [0xffffffffffff0000])) (lshiftrt:SI (bswap:SI (mem/c:SI (reg/f:SI 92 virtual-incoming-args) [2 x+0 S4 A32])) (const_int 16 [0x10])))) "/var/tmp/portage/sys-boot/grub-2.12-r4/work/grub-2.12/include/grub/types.h= ":217:9 -1 (nil)) during RTL pass: vregs /var/tmp/portage/sys-boot/grub-2.12-r4/work/grub-2.12/include/grub/types.h:= 218:1: internal compiler error: in extract_insn, at recog.cc:2812 0x565212e8b58d _fatal_insn(char const*, rtx_def const*, char const*, int, c= har const*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-error.cc:108 0x565212e8ca9a _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/rtl-error.cc:116 0x5652124c38e5 extract_insn(rtx_insn*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/recog.cc:2= 812 0x565213bbfa20 instantiate_virtual_regs_in_insn =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/function.cc:1612 0x565213bbfa20 instantiate_virtual_regs =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/function.cc:1995 0x565213bbf715 execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/function.cc:2042 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ``` ``` Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/15/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.0.9999/configure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/15 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/15/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/15 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/15/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/15/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/15/python --enable-languages=3Dc,c++,fortran,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo Harden= ed 15.0.9999 p, commit 9a866462097fe24696c924a3874fd307c775e860' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config=3D'bootstrap= -O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240601 (experimental) 85f15ea65a97686ad39af0c14b7dd9a9372e3a19 (Gentoo Hardened 15.0.9999 p, comm= it 9a866462097fe24696c924a3874fd307c775e860) ```=