------- Comment #11 from razya at il dot ibm dot com 2008-05-15 09:23 ------- (In reply to comment #10) > Subject: Bug 34330 > Author: rguenth > Date: Thu May 15 08:21:32 2008 > New Revision: 135329 > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135329 > Log: > 2008-05-15 Richard Guenther <[EMAIL PROTECTED]> > PR tree-optimization/34330 > * tree-ssa-alias.c (get_smt_for): Only assert that accesses > through the pointer will alias the SMT. > * gcc.dg/torture/pr34330.c: New testcase. > Added: > trunk/gcc/testsuite/gcc.dg/torture/pr34330.c > Modified: > trunk/gcc/ChangeLog > trunk/gcc/testsuite/ChangeLog > trunk/gcc/tree-ssa-alias.c
/* { dg-do compile } */ /* { dg-options "-O3 -ftree-parallelize-loops=4 -c" } */ struct p7prior_s { int mnum; /* number of mat emission Dirichlet mixtures */ float mq[200]; /* probabilities of mnum components */ float m[200][20]; /* match emission terms per mix component */ }; struct p7prior_s *default_amino_prior(void); struct p7prior_s *P7AllocPrior(void); struct p7prior_s * default_amino_prior(void) { struct p7prior_s *pri; static float defmq[5] = { 0.178091, 0.056591, 0.0960191, 0.0781233, 0.0834977 }; static float defm[5][6] = { { 0.270671, 0.039848, 0.017576, 0.016415, 0.014268, 0.216147 }, { 0.021465, 0.010300, 0.011741, 0.010883, 0.385651, 0.029156 }, { 0.561459, 0.045448, 0.438366, 0.764167, 0.087364, 0.583402 }, { 0.070143, 0.011140, 0.019479, 0.094657, 0.013162, 0.073732 }, { 0.041103, 0.014794, 0.005610, 0.010216, 0.153602, 0.012049 } }; pri = P7AllocPrior(); pri->mnum = 5; for (q = 0; q < pri->mnum; q++) { pri->mq[q] = defmq[q]; for (x = 0; x < 6; x++) pri->m[q][x] = defm[q][x]; } return pri; } After applying Richard's patch, I'm still getting what seems to be a similar problem. prior.c:17: internal compiler error: in add_call_clobber_ops, at tree-ssa-operands.c:1822 this was tested on power6, when both vectoriztion and autopar are enabled. no failure when enabled seperately. -- razya at il dot ibm dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razya at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34330