------- Comment #3 from falk at debian dot org 2006-07-14 08:08 ------- This simplified test case ICEs already at -O:
static const long unsigned sizes[] = { 4, 8 }; static long unsigned maxSize(const long unsigned *v) { unsigned long max = 0; unsigned long i = 0; for (; i < 2; i++) if (v[i] > max) max = v[i]; return max; } unsigned long a = maxSize(sizes); 00.expand already contains the unfolded leu. I suppose this is not valid RTL? 4.2 does not exhibit this bug. -- falk at debian dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28376