This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33854] [4.3 Regression] ICE in vectorizable_conversion, at tree-vect-transform.c:3374
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2007 06:36:48 -0000
- Subject: [Bug tree-optimization/33854] [4.3 Regression] ICE in vectorizable_conversion, at tree-vect-transform.c:3374
- References: <bug-33854-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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