[Bug tree-optimization/53185] segmentation fault in vectorizable_load

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Wed May 2 06:43:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53185

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot
                   |                            |de

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-05-02 06:42:19 UTC ---
 % cat test.i
unsigned short a, e;
int *b, *d;
int c;
extern int fn2();
void fn1 () {
  void *f;
  for (;;) {
    fn2 ();
    b = f;
    e = 0;
    for (; e < a; ++e)
      b[e] = d[e * c];
  }
}

 % gcc -O3 test.i
test.i: In function ‘fn1’:
test.i:5:6: internal compiler error: in vectorizable_load, at
tree-vect-stmts.c:4544
 void fn1 () {
      ^



More information about the Gcc-bugs mailing list