From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB2C63858D34; Mon, 12 Aug 2024 18:31:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB2C63858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1723487475; bh=d+JPWlsrxwSc3X3Z56SQchuN0HW5PboiatP10RsnS0U=; h=From:To:Subject:Date:From; b=ZotKj4UdOpKK4KmfajRPTa0CGy4H7fFHSwKLyp4SqpWfqEqDIbzi6xsJNC5YAO5W1 iwG1HILpNaQNeu6HM445tT2ygKKi0BPjEVA/DcOha2KWvcW4qahCLNt/aqMKAbC1qC W7Ja5AlpGu7smmXhxH5OZ9NIe7IX8LYQN7Ma86K0= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/116348] New: [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 Date: Mon, 12 Aug 2024 18:31:14 +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: 15.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=3D116348 Bug ID: 116348 Summary: [15 regression] ICE when building gavl-1.4.0 with -O3 -march=3Dznver4 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Created attachment 58913 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D58913&action=3Dedit scale_generic_c.i The original reporter, tdr, hit this with '-O3 -march=3Dsapphirerapids -mprefer-vector-width=3D512', but it shows up nicely with just '-O3 -march=3Dznver4'. ``` $ gcc x.i -O3 -march=3Dznver4 during GIMPLE pass: vect In file included from /var/tmp/portage/media-libs/gavl-1.4.0-r3/work/gavl-1.4.0/gavl/c/scale_gene= ric_c.c:571: /var/tmp/portage/media-libs/gavl-1.4.0-r3/work/gavl-1.4.0/gavl/c/scale_gene= ric_y.h: In function =E2=80=98scale_uint16_x_4_y_generic_c=E2=80=99: /var/tmp/portage/media-libs/gavl-1.4.0-r3/work/gavl-1.4.0/gavl/c/scale_gene= ric_y.h:21:14: internal compiler error: in vect_transform_stmt, at tree-vect-stmts.cc:13396 0x55eb07f84101 internal_error(char const*, ...) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-= context.cc:491 0x55eb07f8429c fancy_abort(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/diagnostic.cc:1772 0x55eb0702d74a vect_transform_stmt(vec_info*, _stmt_vec_info*, gimple_stmt_iterator*, _slp_tree*, _slp_instance*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-stmts.cc= :13396 0x55eb08a66b4f vect_schedule_slp_node =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9= 970 0x55eb08a66b4f vect_schedule_slp_node =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9= 749 0x55eb08a65e2f vect_schedule_scc =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:1= 0208 0x55eb08a65d7b vect_schedule_scc =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:1= 0189 0x55eb0872a10b vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap, vl_ptr> const&) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:1= 0353 0x55eb0888986c vect_transform_loop(_loop_vec_info*, gimple*) =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-loop.cc:= 12404 0x55eb08b21ffd vect_transform_loops =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc= :1007 0x55eb08a8c26a try_vectorize_loop_1 =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc= :1153 0x55eb08a8c26a try_vectorize_loop =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc= :1183 0x55eb087b7625 execute =20=20=20=20=20=20=20 /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc= :1299 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-objc-gc --enable-languages=3Dc,c++,d,go,objc,obj-c++,fortran,ada,r= ust --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 Hardened 15.0.9999 p, commit 743578d0de067c87f590c9886f14961bb429c1f4' --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 --enable-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 20240812 (experimental) 7bf4cd48d4494ba65680578e9c7ae9a1b809aeaf (Gentoo Hardened 15.0.9999 p, comm= it 743578d0de067c87f590c9886f14961bb429c1f4) ```=