This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]