This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16443] [3.5 Regression] ICE during linux kernel compilation
- 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: 13 Jul 2004 02:22:08 -0000
- Subject: [Bug tree-optimization/16443] [3.5 Regression] ICE during linux kernel compilation
- References: <20040708212530.16443.ak@muc.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-07-13 02:22 -------
Here's a reduced testcase that crashes mainline (with checking enabled)
on i686-pc-linux-gnu. Just compile with -Os:
==================================
void foo(char *p)
{
__asm__ ("" ::: "memory");
}
void bar()
{
static char *p;
foo(p);
}
==================================
The error message is:
PR16443.c: In function `bar':
PR16443.c:7: error: Expected an SSA_NAME object
p<D1122>
# p<D1122> = V_MAY_DEF <p<D1122>>;
__asm__("":::"memory");
PR16443.c:7: internal compiler error: tree check: expected ssa_name, have
var_decl in verify_def, at tree-ssa.c:126
Please submit a full bug report, [etc.]
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Known to fail| |3.5.0
Known to work| |3.3.4 3.4.1
Last reconfirmed|0000-00-00 00:00:00 |2004-07-13 02:22:06
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16443