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

            Bug ID: 106219
           Summary: ice in vect_do_peeling, at
                    tree-vect-loop-manip.cc:2703
           Product: gcc
           Version: 12.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 53263
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53263&action=edit
gzipped C++ source code

The attached C++ code, when compiled as follows:

$ ../results/bin/g++ -g -O3 -march=native  -c   -fno-exceptions bug825.cc
during GIMPLE pass: vect
In file included from /usr/include/hwy/foreach_target.h:102,
                 from
/home/dcb36/rpmbuild/BUILD/libjxl-0.6.1/lib/jxl/gauss_blur.cc:16:
/home/dcb36/rpmbuild/BUILD/libjxl-0.6.1/lib/jxl/gauss_blur.cc: In function
‘jxl::ImageF jxl::N_AVX2::ConvolveXSa
mpleAndTranspose(const jxl::ImageF&, const std::vector<float>&, size_t)’:
/home/dcb36/rpmbuild/BUILD/libjxl-0.6.1/lib/jxl/gauss_blur.cc:392:8: internal
compiler error: in vect_do_peeling
, at tree-vect-loop-manip.cc:2703
  392 | ImageF ConvolveXSampleAndTranspose(const ImageF& in,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
0x1396fb1 vect_do_peeling(_loop_vec_info*, tree_node*, tree_node*, tree_node**,
tree_node**, tree_node**, int, b
ool, bool, tree_node**)
        ../../trunk.git/gcc/tree-vect-loop-manip.cc:2702
0x13814ed vect_transform_loop(_loop_vec_info*, gimple*)
        ../../trunk.git/gcc/tree-vect-loop.cc:9877

I will have my usual go at reducing the code and finding a git hash range.

Reply via email to