This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33423] [4.2/4.3 regression]: internal compiler error: in expand_expr_real_1, at expr.c:8670
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2007 14:23:28 -0000
- Subject: [Bug middle-end/33423] [4.2/4.3 regression]: internal compiler error: in expand_expr_real_1, at expr.c:8670
- References: <bug-33423-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from hjl at lucon dot org 2007-09-15 14:23 -------
It is a simpler testcase:
---
static struct {
char buf[15];
} u2;
void
test6 (void)
{
int len;
char *p;
for (len = 0; len < 2; len++)
{
p = __builtin___memset_chk (u2.buf, '\0', len, 15);
if (p != u2.buf) return;
}
}
---
--
hjl at lucon dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.2.2 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33423