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

            Bug ID: 68517
           Summary: [6 Regression] ICE in tree-vect-data-refs.c:2751
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
  Target Milestone: ---
            Target: x86_64-pc-linux-gnu, arm-none-linux-gnueabihf

The below testcases ICEs on arm and x86 at -O3:

typedef struct
{
} st1;

typedef struct
{
  volatile int c;
} __attribute__ ((aligned (4))) st2;

struct s4
{
  st1 f1;
  st2 f2;
  st1 f3;
};

void
foo (struct s3 *arg, struct s4 *arg1)
{
  arg1->f1 = (st1)
  {
  };
  arg1->f3 = (st1)
  {
  };
}

internal compiler error: Floating point exception
 foo (struct s3 *arg, struct s4 *arg1)
 ^~~

0xae59df crash_signal
        gcc/toplev.c:334
0x1230091 vect_analyze_data_ref_accesses(vec_info*)
        gcc/tree-vect-data-refs.c:2751
0xd3bca0 vect_slp_analyze_bb_1
        gcc/tree-vect-slp.c:2435
0xd3bca0 vect_slp_bb(basic_block_def*)
        gcc/tree-vect-slp.c:2608
0xd3e2b5 execute
        gcc/tree-vectorizer.c:753
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


I haven't yet bisected to the revision

Reply via email to