From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B11233858CD1; Tue, 5 Mar 2024 07:04:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B11233858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709622274; bh=uh+Q/ogjzi1SJw8v684pBns1/MBbJzv58o+d5uzFgcI=; h=From:To:Subject:Date:From; b=E4rG+MGHntfaUnzUgaLcwHO1dBkHv5gJt/L7LqAWEvyQ7IGz22ROEN48oLJiiTX9P +X0whU7Nl+yADR48T3KnQKFWPkn0+QH1AATFpQ/4+mrqgsVj02Rkfp4Hazugm0KTsF 8VxxdGiF89VN9m5VqBFY2AN2P3IbQ9XEz6Ug0ZXQ= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114232] New: [14 regression] ICE when building rr-5.7.0 with LTO on x86 Date: Tue, 05 Mar 2024 07:04:32 +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: 14.0 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=3D114232 Bug ID: 114232 Summary: [14 regression] ICE when building rr-5.7.0 with LTO on x86 Product: gcc Version: 14.0 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 57608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57608&action=3Dedit RecordSession.cc.ii.xz Hit this when building rr-5.7.0 with LTO on x86. ``` $ cat list.txt RecordSession.cc.ii Task.cc.ii TraceStream.cc.ii $ g++ -O3 -pipe -march=3Di686 -mfpmath=3Dsse -msse -msse2 -fno-vect-cost-mo= del -rdynamic -flto=3Dauto @list.txt /var/tmp/portage/dev-util/rr-5.7.0/work/rr-5.7.0/src/TraceStream.cc: In mem= ber function =E2=80=98close=E2=80=99: /var/tmp/portage/dev-util/rr-5.7.0/work/rr-5.7.0/src/TraceStream.cc:1467:1: error: unrecognizable insn: 1467 | } | ^ (insn 160 159 161 26 (parallel [ (set (reg:V2QI 250 [ vect_patt_207.470_183 ]) (minus:V2QI (reg:V2QI 251) (reg:V2QI 249 [ vect__4.468_451 ]))) (clobber (reg:CC 17 flags)) ]) "/var/tmp/portage/dev-util/rr-5.7.0/work/rr-5.7.0/src/TraceStream.cc":254:1= 6 -1 (nil)) during RTL pass: vregs /var/tmp/portage/dev-util/rr-5.7.0/work/rr-5.7.0/src/TraceStream.cc:1467:1: internal compiler error: in extract_insn, at recog.cc:2812 0x5799263a _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/rtl-error.cc:108 0x579927e8 _fatal_insn_not_found(rtx_def const*, char const*, int, char con= st*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/rtl-error.cc:116 0x56eadade extract_insn(rtx_insn*) /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/recog.cc:2= 812 0x58ac1379 instantiate_virtual_regs_in_insn =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/function.cc:1611 0x58ac1379 instantiate_virtual_regs =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/function.cc:1994 0x58ac1379 execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-14.0.9999/gcc-14.0.9999/gcc/function.cc:2041 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. make: *** [/tmp/ccCI1g9e.mk:17: /tmp/ccZVEvZf.ltrans5.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/lib/gcc/i686-pc-linux-gnu/14/../../../../i686-pc-linux-gnu/bin/ld: err= or: lto-wrapper failed collect2: error: ld returned 1 exit status ``` ``` Using built-in specs. COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/i686-pc-linux-gnu/14/lto-wrapper Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-14.0.9999/work/gcc-14.0.9999/configure --host=3Di686-pc-linux-gnu --build=3Di686-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/i686-pc-linux-gnu/gcc-bin/14 --includedir=3D/usr/lib/gcc/i686-pc-linux-gnu/14/include --datadir=3D/usr/share/gcc-data/i686-pc-linux-gnu/14 --mandir=3D/usr/share/gcc-data/i686-pc-linux-gnu/14/man --infodir=3D/usr/share/gcc-data/i686-pc-linux-gnu/14/info --with-gxx-include-dir=3D/usr/lib/gcc/i686-pc-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=3D/share/gcc-data/i686-pc-linux-gnu/14/python --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=3Dyes,extra,rtl,df --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 14.0.9= 999 p, commit c8305c9bdf09abe3e2f89783fe62f2e4049468fa' --with-gcc-major-version-o= nly --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --disable-multilib --disable-fixed-point --with-arch=3Di686 --enable-target= s=3Dall --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --with-zstd --without-isl --enable-default-pie --enable-host-pie --disable-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 14.0.1 20240304 (experimental) a89c5df317d1de74871e2a05c36aed9cbbb21f42 (Gentoo 14.0.9999 p, commit c8305c9bdf09abe3e2f89783fe62f2e4049468fa) ```=