This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23695] [ColdFire] Illegal move of byte intoo address register causes compiler to ICE
- From: "kazu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2005 21:26:35 -0000
- Subject: [Bug target/23695] [ColdFire] Illegal move of byte intoo address register causes compiler to ICE
- References: <bug-23695-11289@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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