This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2006 08:08:59 -0000
- Subject: [Bug target/28376] [4.1 Regression] ICE when building opensp with -O3 on alpha
- References: <bug-28376-10160@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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