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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|middle-end                  |tree-optimization
     Ever confirmed|0                           |1

--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat fsmpage.i
extern void d(void);
void a() {
  char *b;
  char c = 0;
  for (; b < (char *)a; b++) {
    if (*b)
      c = 1;
    *b = 0;
  }
  if (c)
    d();
}

markus@x4 tmp % /var/tmp/gcc_build_dir_/gcc/cc1 -fpreprocessed fsmpage.i -quiet
-dumpbase fsmpage.i -O3
fsmpage.i: In function ‘a’:
fsmpage.i:2:6: internal compiler error: in vect_transform_stmt, at
tree-vect-stmts.c:8424
 void a() {
      ^
0xd570c9 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*,
_slp_instance*)
        ../../gcc/gcc/tree-vect-stmts.c:8424
0xd5e7c6 vect_transform_loop(_loop_vec_info*)
        ../../gcc/gcc/tree-vect-loop.c:7045
0xd7c994 vectorize_loops()
        ../../gcc/gcc/tree-vectorizer.c:585

Reply via email to