------- Comment #9 from irar at il dot ibm dot com 2008-02-07 12:54 ------- (In reply to comment #8) > { > float *pTempSumPhase_Temp_cre_angle = (float*) malloc (sizeof(float) > *m_nSamples); > float *pTempSum2Phase_Temp_cre_angle = (float*) malloc (sizeof(float) > *m_nSamples); > > memset(pTempSumPhase_Temp_cre_angle,0,sizeof(float)* m_nSamples); > memset(pTempSum2Phase_Temp_cre_angle,0,sizeof(float)* m_nSamples);
Maybe the problem is that they escape (call to memset)... The alias analysis fails to distinguish between these two pointers and the vectorizer has to create runtime checks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35117