This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
New testcase for old iWMMXt bug
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 22 Apr 2006 15:33:05 +0000 (UTC)
- Subject: New testcase for old iWMMXt bug
I've committed to mainline this testcase for a bug formerly seen (on
csl-arm-branch) on ARM with -mcpu=iwmmxt. (The bug itself no longer
appears on mainline; similar bugs are known to have been fixed as a
side-effect of other changes.)
2006-04-22 Joseph S. Myers <joseph@codesourcery.com>
* gcc.c-torture/compile/20060421-1.c: New testcase.
/* This test used to ICE on ARM with -mcpu=iwmmxt. */
void
foo (void)
{
long long int a;
unsigned long b[249]; /* >= 249 causes failure */
register unsigned int c;
b[c] = (a & (1ULL << c)) ? 1 : 0;
}
--
Joseph S. Myers
joseph@codesourcery.com