[Bug tree-optimization/42998] [4.5 Regression] ICE: error: verify_stmts failed

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 8 13:33:00 GMT 2010



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-02-08 13:33 -------
void foo(void *);
void bar(void *);
void ndisc_fill_addr_option(unsigned char *opt, int data_len,
                            unsigned short addr_type) 
{
  int pad;
  if (addr_type == 32)
    pad = 2;
  else
    pad = 0;
  __builtin_memset(opt + 2, 0, pad);
  opt += pad;
  __builtin_constant_p(data_len) ? foo (opt+2) : bar (opt+2);
}


-- 


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



More information about the Gcc-bugs mailing list