This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14468] New: [tree-ssa] ICE in verify_stmts (tree-cfg.c)
- From: "epanelelytha at kellertimo dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2004 16:38:54 -0000
- Subject: [Bug c++/14468] New: [tree-ssa] ICE in verify_stmts (tree-cfg.c)
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
zztest.cpp: In function `void foo()':
zztest.cpp:9: error: Invalid operand to binary operator
(struct N *)i.6;
zztest.cpp:9: internal compiler error: verify_stmts failed.
class N {
public:
N() {}
};
N x(N, N) {return N();}
void foo()
{
N b,c;
static N a[2]; // no ICE without static
for (unsigned i=1; i < 2; ++i)
a[i] = x(a[i-1], b);
}
Reading specs from /usr/local/lib/gcc/i686-pc-cygwin/3.5-tree-ssa/specs
Configured with: ./configure --enable-languages=c,c++ : (reconfigured)
./configure --enable-language
s=c,c++ : (reconfigured) ./configure --enable-languages=c,c++
Thread model: single
gcc version 3.5-tree-ssa 20040307 (merged 20040305)
The code worked with GCC 3.5.0 (some days ago).
--
Summary: [tree-ssa] ICE in verify_stmts (tree-cfg.c)
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: epanelelytha at kellertimo dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14468