This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
- From: "kkojima 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 May 2007 12:20:00 -0000
- Subject: [Bug tree-optimization/31866] New: [4.3 Regression] ICE with tree check error: expected ssa_name, have var_decl in create_outofssa_var_map
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With -O1, the following testcase
int
foo (void)
{
return ({
unsigned int resultvar = ({
long int arg = (long int) 0;
register long int reg asm ("eax") = arg;
asm volatile ("nop"
: "=a" (resultvar)
: "0" (reg)
:"memory");
(int) resultvar;});
(int) resultvar;});
}
fails with an ICE:
foo.c: In function 'foo':
foo.c:3: internal compiler error: tree check: expected ssa_name, have var_decl
in create_outofssa_var_map, at tree-ssa-coalesce.c:1051
--
Summary: [4.3 Regression] ICE with tree check error: expected
ssa_name, have var_decl in create_outofssa_var_map
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-checking
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31866