public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1
@ 2024-06-16  2:28 sjames at gcc dot gnu.org
  2024-06-16  2:29 ` [Bug tree-optimization/115508] " sjames at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16  2:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115508
           Summary: ICE when building flac with -O2 -march=znver1
           Product: gcc
           Version: unknown
            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 58439
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58439&action=edit
fixed_intrin_avx2.i.xz

Originally reported downstream in Gentoo at https://bugs.gentoo.org/934383.

I can't reproduce it with -march=znver2, just -march=znver1. Not compared the
diff yet.

```
$ gcc-14 -c a.i -march=znver1 -m32 -mfpmath=sse -O2
during GIMPLE pass: slp
/var/tmp/portage/media-libs/flac-1.4.3/work/flac-1.4.3/src/libFLAC/fixed_intrin_avx2.c:
In function 'FLAC__fixed_compute_best_predictor_wide_intrin_avx2':
/var/tmp/portage/media-libs/flac-1.4.3/work/flac-1.4.3/src/libFLAC/fixed_intrin_avx2.c:57:10:
internal compiler error: Segmentation fault
0x55ccfe748bc3 crash_signal
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/toplev.cc:319
0x55ccfeaceb36 vect_schedule_slp_node
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:9279
0x55ccfeae8643 vect_schedule_slp_node
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:9248
0x55ccfeae8643 vect_schedule_scc
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:9682
0x55ccfeae86a8 vect_schedule_scc
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:9663
0x55ccfeae8e7a vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap,
vl_ptr> const&)
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:9827
0x55ccfeaebcc9 vect_slp_region
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:7948
0x55ccfeaed54a vect_slp_bbs
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:8048
0x55ccfeaedbea vect_slp_function(function*)
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vect-slp.cc:8170
0x55ccfeaf9b75 execute
       
/usr/src/debug/sys-devel/gcc-14.1.1_p20240608/gcc-14-20240608/gcc/tree-vectorizer.cc:1533
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-14
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-14.1.1_p20240608/work/gcc-14-20240608/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/14
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/14/python
--enable-languages=c,c++,fortran,rust --enable-obsolete --enable-secureplt
--disable-werror --with-system-zlib --disable-nls
--disable-libunwind-exceptions --enable-checking=yes,extra,rtl
--with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened
14.1.1_p20240608 p2' --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 --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=bootstrap-O3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.1.1 20240608 (Gentoo Hardened 14.1.1_p20240608 p2)
```

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

end of thread, other threads:[~2024-06-21 12:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-16  2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
2024-06-16  2:29 ` [Bug tree-optimization/115508] " sjames at gcc dot gnu.org
2024-06-16  2:29 ` sjames at gcc dot gnu.org
2024-06-16  2:37 ` sjames at gcc dot gnu.org
2024-06-16  2:58 ` sjames at gcc dot gnu.org
2024-06-16  3:02 ` [Bug tree-optimization/115508] [14/15 regression] " pinskia at gcc dot gnu.org
2024-06-16  3:02 ` sjames at gcc dot gnu.org
2024-06-16  3:10 ` sjames at gcc dot gnu.org
2024-06-16  3:13 ` pinskia at gcc dot gnu.org
2024-06-16  3:19 ` pinskia at gcc dot gnu.org
2024-06-16  3:22 ` pinskia at gcc dot gnu.org
2024-06-16  3:26 ` pinskia at gcc dot gnu.org
2024-06-16  3:28 ` pinskia at gcc dot gnu.org
2024-06-16  9:32 ` [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421 sjames at gcc dot gnu.org
2024-06-17  5:57 ` rguenth at gcc dot gnu.org
2024-06-17 12:40 ` cvs-commit at gcc dot gnu.org
2024-06-17 13:15 ` [Bug tree-optimization/115508] [14 " rguenth at gcc dot gnu.org
2024-06-21  9:42 ` rguenth at gcc dot gnu.org
2024-06-21 12:16 ` cvs-commit at gcc dot gnu.org
2024-06-21 12:17 ` rguenth 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).