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

            Bug ID: 89268
           Summary: [9 Regression] r268689 caused FAIL:
                    gcc.dg/vect/pr79887.c
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: rguenther at suse dot de
  Target Milestone: ---

r268689 caused:

[hjl@gnu-skx-1 gcc-bisect]$ cat gcc/gcc/testsuite/gcc.dg/vect/pr79887.c
/* Test for pr79887.  */
/* { dg-do compile } */
/* { dg-require-effective-target vect_condition } */
/* { dg-additional-options "-fno-trapping-math --param vect-epilogues-nomask=1"
} */
/* { dg-additional-options "-mavx512ifma" { target x86_64-*-* i?86-*-* } } */

void
foo (float a[32], float b[2][32])
{
  int i;
  for (i = 0; i < 32; i++)
    a[i] = (b[0][i] > b[1][i]) ? b[0][i] : b[1][i];
}

[hjl@gnu-skx-1 gcc-bisect]$ ./master/268689/usr/bin/gcc -S
gcc/gcc/testsuite/gcc.dg/vect/pr79887.c -mavx512ifma -fno-trapping-math --param
vect-epilogues-nomask=1 -mtune=intel -O3
during GIMPLE pass: vect
gcc/gcc/testsuite/gcc.dg/vect/pr79887.c: In function \u2018foo\u2019:
gcc/gcc/testsuite/gcc.dg/vect/pr79887.c:8:1: internal compiler error:
Segmentation fault
    8 | foo (float a[32], float b[2][32])
      | ^~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
[hjl@gnu-skx-1 gcc-bisect]$

Reply via email to