[Bug target/23695] [ColdFire] Illegal move of byte intoo address register causes compiler to ICE
kazu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 19 21:26:00 GMT 2005
------- Comment #3 from kazu at gcc dot gnu dot org 2005-11-19 21:26 -------
Slightly reduced to:
extern void bar (unsigned char, unsigned char, unsigned char);
void
foo (unsigned char *key, unsigned int round)
{
unsigned char a = 0, b = 0, c = 0;
while (round-- > 0)
{
a ^= *++key;
b += *++key;
c += *++key;
}
bar (a, b, c);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23695
More information about the Gcc-bugs
mailing list