[Bug target/17690] ICE while compiling gcc-cvs for target ip2k-elf

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 27 22:22:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-27 22:22 -------
I should say I reduced to:
unsigned int
size_of_encoded_value (unsigned char encoding)
{
  if (encoding == 0xff)
    return 0;

  switch (encoding & 0x07)
    {
    case 0x00:
      return sizeof (void *);
    case 0x02:
      return 2;
    case 0x03:
      return 4;
    case 0x04:
      return 8;
    }
  abort ();
}
which means that it is a dup as return is changed to goto by the middle-end.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17690



More information about the Gcc-bugs mailing list