------- Additional Comments From bangerth at dealii dot org 2004-12-02 23:34
-------
We can save one layer of objects:
-------------------------
struct S {
S();
S(const S&);
void operator=(const S&);
};
struct X {
int a, b, c, d, e;
S s;
};
void foobar () {
X x = {0};
}
----------------------
sandbox/tt> /ices/bangerth/tmp/build-gcc/gcc-install/bin/c++ -c x.cc
x.cc: In function 'void foobar()':
x.cc:13: internal compiler error: in cp_expr_size, at cp/cp-objcp-common.c:86
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18793