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

            Bug ID: 91033
           Summary: [10 Regression] ICE in vect_analyze_loop, at
                    tree-vect-loop.c:2416
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-checking, ice-on-valid-code, openmp
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

gcc-10.0.0-alpha20190623 snapshot (r272608) ICEs when compiling the following
testcase extracted from gcc/testsuite/gcc.dg/ipa/pr90555.c w/ -O1 (-O2, -O3,
-Ofast) -march=knl -fopenmp-simd -ftree-parallelize-loops=2:

#define N 1024
int a[N];

void
test_simdlen1 (void)
{
  int i;
  #pragma omp simd simdlen (4)
  for (i = 0; i < N; ++i)
    a[i] = a[i] + 1;
}

% x86_64-unknown-linux-gnu-gcc-10.0.0-alpha20190623 -march=knl -O1
-fopenmp-simd -ftree-parallelize-loops=2 -c pyxioyv3.c
during GIMPLE pass: vect
In function 'test_simdlen1._loopfn.0':
cc1: internal compiler error: in vect_analyze_loop, at tree-vect-loop.c:2416
0x6fcb1a vect_analyze_loop(loop*, _loop_vec_info*, vec_info_shared*)
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190623/work/gcc-10-20190623/gcc/tree-vect-loop.c:2416
0xfbb725 try_vectorize_loop_1
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190623/work/gcc-10-20190623/gcc/tree-vectorizer.c:886
0xfbc3cf vectorize_loops()
       
/var/tmp/portage/sys-devel/gcc-10.0.0_alpha20190623/work/gcc-10-20190623/gcc/tree-vectorizer.c:1114

Reply via email to