This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31950] New: ICE in tree-ssa-alias-warnings.c
- From: "Ralf dot Wildenhues at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2007 12:11:13 -0000
- Subject: [Bug c++/31950] New: ICE in tree-ssa-alias-warnings.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With mainline as of a couple of days ago:
| gcc version 4.3.0 20070514 (experimental)
g++ -O2 -Wstrict-aliasing=3 -c t.cc
gives me this error:
| t.cc: In function ?int main()?:
| t.cc:11: internal compiler error: tree check: expected tree that contains
?decl common? structure, have ?struct_field_tag? in ffan_walker, at
tree-ssa-alias-warnings.c:638
on the following code. I haven't tried eliminating <valarray> yet,
but may try to do so, given time. Will try updated mainline next.
Cheers,
Ralf
#include <valarray>
using std::valarray;
struct A {
valarray<double>* v;
virtual ~A() { delete[] v; }
};
A Op(void);
int main()
{
A a(Op());
return 0;
}
--
Summary: ICE in tree-ssa-alias-warnings.c
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Ralf dot Wildenhues at gmx dot de
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31950