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

            Bug ID: 127206
           Summary: [17 regression] ice in internal compiler error: in
                    vect_schedule_slp_node, at tree-vect-slp.cc:12201
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 65495
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=65495&action=edit
gzipped C++ source code

The attached C++ code does this with recent g++ trunk:

foundBugs $ ../results/bin/g++ -c -O2 -march=native -w bug1239.cc
foundBugs $ ../results/bin/g++ -c -O3 -march=native -w bug1239.cc
during GIMPLE pass: slp
/home/dcb42/rpmbuild/BUILD/vvdec-3.2.0-build/vvdec-3.2.0/source/Lib/CommonLib/LoopFilter.cpp:
In member function ‘void
vvdec::LoopFilter::xDeblockCtuArea(vvdec::CodingStructure&, const
vvdec::UnitArea&, vvdec::ChannelType) const [with vvdec::DeblockEdgeDir edgeDir
= vvdec::EDGE_VER]’:
/home/dcb42/rpmbuild/BUILD/vvdec-3.2.0-build/vvdec-3.2.0/source/Lib/CommonLib/LoopFilter.cpp:419:6:
internal compiler error: in vect_schedule_slp_node, at tree-vect-slp.cc:12201
  419 | void LoopFilter::xDeblockCtuArea( CodingStructure& cs, const UnitArea&
area, const ChannelType chType ) const
      |      ^~~~~~~~~~
0x24e93c7 internal_error
       
/home/dcb42/gcc/working/gcc/../../trunk/gcc/diagnostic-global-context.cc:787
0x24f2c0b fancy_abort
        /home/dcb42/gcc/working/gcc/../../trunk/gcc/diagnostics/context.cc:1813
0x13416db vect_schedule_slp_node
        /home/dcb42/gcc/working/gcc/../../trunk/gcc/tree-vect-slp.cc:12201

Native is znver3. Compiler is

foundBugs $ ../results/bin/g++ -v
Using built-in specs.
COLLECT_GCC=../results/bin/g++
COLLECT_LTO_WRAPPER=/home/dcb42/gcc/results.20260903.ubsan/libexec/gcc/x86_64-pc-linux-gnu/17.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../trunk/configure
--prefix=/home/dcb42/gcc/results.20260903.ubsan --disable-bootstrap
--disable-doc --disable-multilib --with-build-config=bootstrap-ubsan
--with-pkgversion=6671a011635423c3 --enable-checking=yes
--enable-languages=c,c++,fortran
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 17.0.0 20260903 (experimental) (6671a011635423c3) 
foundBugs $

Reply via email to