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

            Bug ID: 115868
           Summary: ICE: in exact_div, at poly-int.h:2156
           Product: gcc
           Version: 14.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

g++.dg/vect/pr68762-2.cc ICEs when built with -march=znver4 (or -mavx512vl) and
--param vect-partial-vector-usage=1 or 2.

during GIMPLE pass: vect
/space/rguenther/src/gcc-14-branch/gcc/testsuite/g++.dg/vect/pr68762.h:8:1:
internal compiler error: in exact_div, at poly-int.h:2156
0x161ffaf poly_int<1u, poly_result<unsigned long, if_nonpoly<unsigned long,
unsigned long, poly_int_traits<unsigned long>::is_poly>::type,
poly_coeff_pair_traits<unsigned long, if_nonpoly<unsigned long, unsigned long,
poly_int_traits<unsigned long>::is_poly>::type>::result_kind>::type>
exact_div<1u, unsigned long, unsigned long>(poly_int<1u, unsigned long> const&,
unsigned long)
        /space/rguenther/src/gcc-14-branch/gcc/poly-int.h:2156
0x161d761 poly_int<1u, poly_result<unsigned long, unsigned long,
poly_coeff_pair_traits<unsigned long, unsigned long>::result_kind>::type>
exact_div<1u, unsigned long, unsigned long>(poly_int<1u, unsigned long> const&,
poly_int<1u, unsigned long> const&)
        /space/rguenther/src/gcc-14-branch/gcc/poly-int.h:2169
0x1ea42b6 vect_verify_full_masking
        /space/rguenther/src/gcc-14-branch/gcc/tree-vect-loop.cc:1326

Reply via email to