[Bug middle-end/33423] [4.2/4.3 regression]: internal compiler error: in expand_expr_real_1, at expr.c:8670

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Sat Sep 15 14:58:00 GMT 2007



------- Comment #4 from hjl at lucon dot org  2007-09-15 14:58 -------
This one works:

---
static 
  char buf[15];

void
test6 (void)
{
  int len;
  char *p;

  for (len = 0; len < 15; len++)
    {
      p = __builtin___memset_chk (&buf[0], '\0', len, 15);
      if (p != &buf[0]) return;
    }
}
---


-- 


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



More information about the Gcc-bugs mailing list