------- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-18 03:33 ------- It is definitely related to that other PR. Here is a reduced testcase: void f(int NumberOfSideSets, int *ssNumDFperSide, float *ssDF) { int i; float *newssDF = __null; int *newssNumDF = new int [NumberOfSideSets]; int numNewDF = 0; int ii=0; for (i=0; i<NumberOfSideSets; i++) numNewDF += newssNumDF[i]; if (numNewDF > 0) newssDF = new float [numNewDF]; int nextDF = 0; int ndf = ssNumDFperSide[ii]; for (i=0; i<ndf; i++) newssDF[nextDF++] = ssDF[i]; }
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 GCC host triplet|x86_64-unknown-linux-gnu | GCC target triplet|x86_64-unknown-linux-gnu |x86_64-*-* Last reconfirmed|0000-00-00 00:00:00 |2008-08-18 03:33:52 date| | Summary|[4.4 Regression] ICE in gcc-|[4.4 Regression] ICE in VRP |4.4-20080815 snapshot |with the auto-vectorizer http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37143