[Bug c++/31950] New: ICE in tree-ssa-alias-warnings.c
Ralf dot Wildenhues at gmx dot de
gcc-bugzilla@gcc.gnu.org
Wed May 16 12:11:00 GMT 2007
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
More information about the Gcc-bugs
mailing list