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

--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> ---
a test case without a processor specific option.

$ cat RapMapSAIndex.ii
class a {
public:
  a(long);
  void operator<<=(long) {
    long b;
    for (unsigned long c; c; c--)
      d[c + b] = d[c];
  }
  a &g();
  long d[28];
};
long e;
int f;
void j() {
  a h(e), i = h;
  i.g() <<= f;
}

$ g++ -c -std=c++11 -Ofast RapMapSAIndex.ii
RapMapSAIndex.ii: In function 'void j()':
RapMapSAIndex.ii:14:6: internal compiler error: in
create_intersect_range_checks_index, at tree-vect-loop-manip.c:2074
 void j() {
      ^
0xcdb7be create_intersect_range_checks_index
        ../../src/gcc/tree-vect-loop-manip.c:2073
0xcdb7be create_intersect_range_checks
        ../../src/gcc/tree-vect-loop-manip.c:2131
0xcdb7be vect_create_cond_for_alias_checks(_loop_vec_info*, tree_node**)
        ../../src/gcc/tree-vect-loop-manip.c:2219
0xcdbf7c vect_loop_versioning(_loop_vec_info*, unsigned int, bool)
        ../../src/gcc/tree-vect-loop-manip.c:2293
0xccc064 vect_transform_loop(_loop_vec_info*)
        ../../src/gcc/tree-vect-loop.c:6773
0xce8d62 vectorize_loops()
        ../../src/gcc/tree-vectorizer.c:621
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to