This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/23695] [ColdFire] Illegal move of byte intoo address register causes compiler to ICE



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]