------- Comment #2 from pinskia at gcc dot gnu dot org  2005-11-06 04:47 -------
Note switch statements here have nothing to do with the real issue:
extern void bar (unsigned int);
extern void bar1 (const char **);

int
foo (void)
{
  char buf[1] = { 3 };
  const char *p = buf;
  const char **q = &p;
  unsigned int ch;
  if(**q)
    {
            ch = 1;
    }
  else ch =2;

  bar (ch);
  bar1 (q);
  return ch;
}


-- 


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

Reply via email to