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

--- Comment #16 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Ah, saves me the bisect then :)

Morning, new reproducer is:

> cat ratectl.i
double MADPictureC1;
extern int PictureRejected[];
int PictureMAD_0, MADModelEstimator_n_windowSize_i,
MADModelEstimator_n_windowSize_oneSampleQ;

void MADModelEstimator_n_windowSize() {
  int estimateX2 = 0;
  for (; MADModelEstimator_n_windowSize_i; MADModelEstimator_n_windowSize_i++)
{
    if (MADModelEstimator_n_windowSize_oneSampleQ &&
        !PictureRejected[MADModelEstimator_n_windowSize_i])
      estimateX2 = 1;
    if (!PictureRejected[MADModelEstimator_n_windowSize_i])
      MADPictureC1 += PictureMAD_0;
  }
  if (estimateX2)
    for (;;)
      ;
}

----
and called with:

gcc -c -o ratectl.o -Ofast -march=armv8-a+sve  ratectl.i
during GIMPLE pass: vect
ratectl.i: In function 'MADModelEstimator_n_windowSize':
ratectl.i:5:6: internal compiler error: in vect_transform_reduction, at
tree-vect-loop.cc:8442
    5 | void MADModelEstimator_n_windowSize() {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0xffffa9fc2e0f __libc_start_main
        ../csu/libc-start.c:308
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to