------- Comment #10 from eyal at geomage dot com 2008-02-07 12:58 ------- (In reply to comment #9) > (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.
I've commented the memset operation and still get the "created 8 versioning for alias checks." message. Is there some pragma or a coding convention I can use to make the compiler understant those pointers have nothing to do with each other? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35117