[Bug tree-optimization/33854] [4.3 Regression] ICE in vectorizable_conversion, at tree-vect-transform.c:3374

tbm at cyrius dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 22 06:36:00 GMT 2007



------- Comment #2 from tbm at cyrius dot com  2007-10-22 06:36 -------
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

extern void *malloc (long unsigned int __size);
typedef struct VMatrix_ VMatrix;
struct VMatrix_
{
  int dim;
  int t2;
};
void uniform_correlation_matrix (VMatrix * v)
{
  double *xbar = ((void *) 0);
  int m = v->dim;
  int i;
  xbar = malloc (m * sizeof *xbar);
  for (i = 0; i < m; i++)
    xbar[i] /= m;
}


-- 


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



More information about the Gcc-bugs mailing list