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