During profiledbootstrap the compiler ICEs in genmodes.c:746. See http://gcc.gnu.org/ml/gcc/2004-06/msg00238.html for report and first analysis.
Can you attach the preprocessed source?
Created attachment 6474 [details] preprocessed source Here it is.
Created attachment 6475 [details] small testcase (228 bytes) use '-O1 -fprofile-generate'
Here is a slightly different reduced testcase: extern void qsort (); void calc_wider_mode (void) { unsigned int c; for (c = 0; c < 10; c++) if (c != 0) qsort (); }
Here is my small testcase without loops (but with gotos): void t(); void t1 () { int c = 0; goto lc; lb: if (c != 0) {t();} lc: if ((c+=1) <= 9) goto lb; }
Oh, this is a regression to 3.4.0, btw.
I reproduced this problem a week ago, along with 16490. I first fixed 16490, and then tried a profiledbootstrap again, and this time it worked, so there was only one bug, and it was the same bug reported in 16490. *** This bug has been marked as a duplicate of 16490 ***