This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37382] [4.4 Regression] ICE in extract_insn: <var_decl 0x7fda26ff4b40 swig_module>) 0)
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2008 23:34:24 -0000
- Subject: [Bug target/37382] [4.4 Regression] ICE in extract_insn: <var_decl 0x7fda26ff4b40 swig_module>) 0)
- References: <bug-37382-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at gcc dot gnu dot org 2008-09-08 23:34 -------
Confirmed. Reduced testcase:
==================================
char* foo(char *p, char *q)
{
const char *r = q + 2;
for (; q != r; p++, q++)
*p = *q;
return p;
}
void bar(int *p)
{
char a[2];
foo(a, (char*)&p);
baz(a);
}
static int c;
void quus()
{
bar(&c);
}
==================================
The regression appeared between 2008-03-21 and 2008-04-19.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-09-08 23:34:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37382