public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/116348] New: [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4
@ 2024-08-12 18:31 sjames at gcc dot gnu.org
  2024-08-12 18:32 ` [Bug tree-optimization/116348] " pinskia at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-08-12 18:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 116348
           Summary: [15 regression] ICE when building gavl-1.4.0 with -O3
                    -march=znver4
           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=58913&action=edit
scale_generic_c.i

The original reporter, tdr, hit this with '-O3 -march=sapphirerapids
-mprefer-vector-width=512', but it shows up nicely with just '-O3
-march=znver4'.

```
$ gcc x.i -O3 -march=znver4
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_generic_c.c:571:
/var/tmp/portage/media-libs/gavl-1.4.0-r3/work/gavl-1.4.0/gavl/c/scale_generic_y.h:
In function ‘scale_uint16_x_4_y_generic_c’:
/var/tmp/portage/media-libs/gavl-1.4.0-r3/work/gavl-1.4.0/gavl/c/scale_generic_y.h:21:14:
internal compiler error: in vect_transform_stmt, at tree-vect-stmts.cc:13396
0x55eb07f84101 internal_error(char const*, ...)
       
/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*)
       
/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*)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-stmts.cc:13396
0x55eb08a66b4f vect_schedule_slp_node
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9970
0x55eb08a66b4f vect_schedule_slp_node
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9749
0x55eb08a65e2f vect_schedule_scc
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:10208
0x55eb08a65d7b vect_schedule_scc
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:10189
0x55eb0872a10b vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap,
vl_ptr> const&)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:10353
0x55eb0888986c vect_transform_loop(_loop_vec_info*, gimple*)
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-loop.cc:12404
0x55eb08b21ffd vect_transform_loops
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc:1007
0x55eb08a8c26a try_vectorize_loop_1
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc:1153
0x55eb08a8c26a try_vectorize_loop
       
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc:1183
0x55eb087b7625 execute
       
/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 <https://bugs.gentoo.org/> for instructions.
```

```
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/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=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/15/python
--enable-objc-gc --enable-languages=c,c++,d,go,objc,obj-c++,fortran,ada,rust
--enable-obsolete --enable-secureplt --disable-werror --with-system-zlib
--enable-nls --without-included-gettext --disable-libunwind-exceptions
--enable-checking=yes,extra,rtl --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='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=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point
--enable-targets=all --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='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, commit
743578d0de067c87f590c9886f14961bb429c1f4)
```

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-08-26 12:09 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-12 18:31 [Bug tree-optimization/116348] New: [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 sjames at gcc dot gnu.org
2024-08-12 18:32 ` [Bug tree-optimization/116348] " pinskia at gcc dot gnu.org
2024-08-12 18:51 ` sjames at gcc dot gnu.org
2024-08-12 18:54 ` pinskia at gcc dot gnu.org
2024-08-13  9:25 ` xry111 at gcc dot gnu.org
2024-08-13  9:27 ` xry111 at gcc dot gnu.org
2024-08-19 14:37 ` [Bug tree-optimization/116348] [15 regression] ICE when building gavl-1.4.0 with -O3 -march=znver4 since r15-2791-g2083389a18d366 rguenth at gcc dot gnu.org
2024-08-20 12:27 ` xry111 at gcc dot gnu.org
2024-08-20 18:55 ` sjames at gcc dot gnu.org
2024-08-21  5:39 ` xry111 at gcc dot gnu.org
2024-08-21  5:56 ` xry111 at gcc dot gnu.org
2024-08-22 14:25 ` xry111 at gcc dot gnu.org
2024-08-23 12:07 ` rguenther at suse dot de
2024-08-26 12:08 ` cvs-commit at gcc dot gnu.org
2024-08-26 12:09 ` xry111 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).