From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4ADF73858C2F; Mon, 25 Dec 2023 16:16:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4ADF73858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703520989; bh=z5J4+r9EQW7Gw4MgqNqIXnF342o23GXq8vGb6K7P4GY=; h=From:To:Subject:Date:From; b=KXWqRHsk57/d5KKYI5LKMQgFsOV2JmplT53J5kyRYipLxy8pAqihyz6Lvh345Whtb vA8Xjvy96vW2ERmL0waYo4rjMO99uSGOef3PUaGoi1Kq+r2hsCYdokaUk0EdnkGlFE cwZ/4cpzom1KtNiD3nWTL9TFIB2lQsD6jZE1nGNU= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113137] New: [14 regression] Failed bootstrap with -O3 -march=znver2 Date: Mon, 25 Dec 2023 16:16:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization 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 cc 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=3D113137 Bug ID: 113137 Summary: [14 regression] Failed bootstrap with -O3 -march=3Dznver2 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: tnfchris at gcc dot gnu.org Target Milestone: --- Created attachment 56936 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56936&action=3Dedit c-cppbuiltin.ii.xz ``` # /tmp/gcc/bin/g++ -c c-cppbuiltin.ii -O3 -march=3Dznver2 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20231224/work/gcc-14-20231224/gcc/= c-family/c-cppbuiltin.cc: In function 'void builtin_define_type_minmax(const char*, const char*, tree= )': /var/tmp/portage/sys-devel/gcc-14.0.0_pre20231224/work/gcc-14-20231224/gcc/= c-family/c-cppbuiltin.cc:2043:1: error: PHI node with wrong VUSE on edge from BB 12 2043 | builtin_define_type_minmax (const char *min_macro, const char *max_macro, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ .MEM_218 =3D PHI <.MEM_59(12)> expected .MEM_191 /var/tmp/portage/sys-devel/gcc-14.0.0_pre20231224/work/gcc-14-20231224/gcc/= c-family/c-cppbuiltin.cc:2043:1: error: multiple virtual PHI nodes in BB 32 .MEM_99 =3D PHI <.MEM_191(14)> .MEM_217 =3D PHI <.MEM_59(14)> /var/tmp/portage/sys-devel/gcc-14.0.0_pre20231224/work/gcc-14-20231224/gcc/= c-family/c-cppbuiltin.cc:2043:1: error: PHI node with wrong VUSE on edge from BB 32 .MEM_103 =3D PHI <.MEM_217(32), .MEM_218(37)> expected .MEM_99 during GIMPLE pass: vect /var/tmp/portage/sys-devel/gcc-14.0.0_pre20231224/work/gcc-14-20231224/gcc/= c-family/c-cppbuiltin.cc:2043:1: internal compiler error: verify_ssa failed Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. ``` ``` Using built-in specs. COLLECT_GCC=3D/tmp/gcc/bin/g++ COLLECT_LTO_WRAPPER=3D/tmp/gcc/libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-w= rapper Target: x86_64-pc-linux-gnu Configured with: /home/sam/git/gcc/configure --build=3Dx86_64-pc-linux-gnu --host=3Dx86_64-pc-linux-gnu --target=3Dx86_64-pc-linux-gnu --disable-analy= zer --disable-cet --disable-default-pie --disable-default-ssp --disable-gcov --disable-libada --disable-libatomic --disable-libgomp --disable-libitm --disable-libquadmath --disable-libsanitizer --disable-libssp --disable-libstdcxx-pch --disable-libvtv --disable-lto --disable-multilib --disable-nls --disable-objc-gc --disable-systemtap --disable-werror --enable-languages=3Dc,c++ --prefix=3D/tmp/gcc --with-checking=3Dyes,extra,= rtl --without-libatomic --without-libbacktrace --without-isl --without-zstd --with-system-zlib --enable-lto --with-build-config=3Dbootstrap-lto Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231225 (experimental) (GCC) ```=